Hey guys,
I want to make a game with a big 2d map, where you can go and fly around
(the game will be like 'Doodle Army 2: Mini Militia' for IPhone).
My problem is, that i don't know how to make a 2d engine.
So pls help me, give me tips or a script.
thx for help.
Offline
I'm confused by what you mean when you say "2D engine". Could you elaborate?
Offline
MoreGamesNow wrote:
I'm confused by what you mean when you say "2D engine". Could you elaborate?
I mean that the 2d map atomatic generates, like in a 3d engine, but 2d.
A way to show for example the right side of the background on the large background,
when i press d. I don't want to make it with one very large background that moves when you press the buttons.
Offline
Are you asking about scrolling??
Offline
MoreGamesNow wrote:
Are you asking about scrolling??
This is good, but is there a way with calculating and algorithms?
Offline
What would you be calculating? Are you trying to do something more complex than scrolling?
Offline
MoreGamesNow wrote:
What would you be calculating? Are you trying to do something more complex than scrolling?
Scrolling is a good way, but I'm interrested in making it like in 3d where you make it with sin & cos too......
Offline
Are you trying to intentionally use sin/cos? That's to how programming works: you use a feature to solve a problem, not create a problem to use a feature.
Offline
Sqervay wrote:
MoreGamesNow wrote:
What would you be calculating? Are you trying to do something more complex than scrolling?
Scrolling is a good way, but I'm interrested in making it like in 3d where you make it with sin & cos too......
You don't have to use cosine and sine. I would even hazard to guess that you shouldn't use it. Scratch comes equipped to display 2D graphics via an x-y coordinate system, why don't you just use that?
Offline
ok , i said it bad. I wanted to say that i want to make it noot with scrolling, but with formulas, because you have, when you use scrolling, the problem that you have to make a border. I hope you understand now what I meant...
Offline
Offline