Gunther Active Member Licensed User Longtime User Feb 22, 2019 #1 Why it is complaining when a 2nd Game-Module is added?
Erel B4X founder Staff member Licensed User Longtime User Feb 24, 2019 #2 Better to post text as text instead of screenshots. X2 frameworks expects a single Game class. All the calls from the game loop to the game class are direct calls. You can create two instances of the game class and change their behavior based on a value you pass to the initialize method.
Better to post text as text instead of screenshots. X2 frameworks expects a single Game class. All the calls from the game loop to the game class are direct calls. You can create two instances of the game class and change their behavior based on a value you pass to the initialize method.
Gunther Active Member Licensed User Longtime User Feb 24, 2019 #3 So, in every class originating sub like Tick, presolveworld etc. I have to put a If... Then since the subs content will be different.
So, in every class originating sub like Tick, presolveworld etc. I have to put a If... Then since the subs content will be different.
Erel B4X founder Staff member Licensed User Longtime User Feb 24, 2019 #4 Yes. I'm not sure what you are doing, however you can have an almost empty game class which just delegates the calls to two other classes.
Yes. I'm not sure what you are doing, however you can have an almost empty game class which just delegates the calls to two other classes.
Gunther Active Member Licensed User Longtime User Feb 24, 2019 #5 Thanks for the info and I will check if I got that right. Let's assume two screens next to each other. A Splitt Screen. Showing different parts of the tilemap. A single X2.UpdateWorldCenter will be difficult. Or I want to use a tilemap as a moving background in a different screen than the actual game. Last edited: Feb 24, 2019
Thanks for the info and I will check if I got that right. Let's assume two screens next to each other. A Splitt Screen. Showing different parts of the tilemap. A single X2.UpdateWorldCenter will be difficult. Or I want to use a tilemap as a moving background in a different screen than the actual game.