123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|678|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> Q*Bert Logic

Wed, 01 Aug 2018, 10:24
spinal
Anyone ever made a Q*bert style game? how on earth do those levels work? Are they 3D or 2D, I've only ever done X/Y grid layouts before, where do I start?

-=-=-
Check out my excellent homepage!
Wed, 01 Aug 2018, 10:24
Jayenkai
In memory, it's a simple 2D array.

When you go to draw it, offset each x coordinate by (-y*0.5). .. or something!!



-=-=-
''Load, Next List!''
Wed, 01 Aug 2018, 10:45
spinal
Gaps!!!! of course!
Wed, 01 Aug 2018, 10:51
Jayenkai
When trying to draw sprites moving around, start by drawing them "flat"on the floor, and keep tweaking the "x-(y*0.5)” maths until they scroll around properly.
Once they do, add a simple "jump" (z) coordinate.. do a simple sin wave between the two points, and subtract that from the drawn Y position.

-=-=-
''Load, Next List!''
Wed, 01 Aug 2018, 11:34
spinal
Jay, with probably 500 or so released games under your belt, why do you make a bunch of tutorials? I have no doubt that they'd be popular.

-=-=-
Check out my excellent homepage!
Wed, 01 Aug 2018, 11:47
rockford
I've done a couple over the years. Q*Bert is probably the most simple game after Space Invaders, Snake and Breakout to code. I'm surprised you hadn't Spinal.
Wed, 01 Aug 2018, 11:49
spinal
I only thought to do a Tetris game last year!
Wed, 01 Aug 2018, 11:51
Jayenkai
I'd never get time to write tutorials! You so crazy!!!!

-=-=-
''Load, Next List!''
Wed, 01 Aug 2018, 12:17
spinal
Sure you would, just blog a little more during the creation of a new game

-=-=-
Check out my excellent homepage!