OneJump - For the 'There Can Be Only One' Competition.

Started by Amon, August 14, 2021, 09:54:54

Previous topic - Next topic

Amon

Here is the start of my OneJump platformer game entry for the 'There can be only one' competition. Updates on this will be posted here.


Amon

Testing out collisions and jumping. The game is controlled, as per the rules of the comp, by one button. The mouse-left button.

Animations are done and flip axis perfectly. There were a few problems with the collision where if they collided with eachother they would get stuck and go batshit. That's fixed though.




MrmediamanX

Man that was quick, I'll need to revise what i'm doing due the no longer requiring the use of vector line art.
It's looking like a solid start there.  :)
It's a thing that doe's when it don't..

Amon

Lol, thanks dude. Yeah, once you know what plan of attack you have to code something it is pretty much easy going. You have to try and avoid feature creep though cos that will kill your dev time.

:)

3DzForMe

They're out of the starting gates already, promising looking start  ;D
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

Amon


3DzForMe

My Lord - the bar is exceptionally high already - the disc chainsaw is an awesome back drop  8)
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

Qube

@Amon - If I'm looking at it right then you are using the mouse to click on a character?

If that is the case then you can't use the mouse to move around as moving a mouse pointer isn't one button.

QuoteYou can use a mouse or joystick / joypad but only one button can be used. You can not use any other features of that device.

Unless the mouse moving + selecting is just for testing purposes?
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Amon

Yep, the character moves around on his own. The only interaction is clicking the character to make him jump. Just one button. :)

The aim is to try and save as many of the automatons as possible. The only thing you can do is click them to make them jump to avoid traps, obstacles etc.

:)


Qube

Quote from: Amon. on August 14, 2021, 22:01:53
Yep, the character moves around on his own. The only interaction is clicking the character to make him jump. Just one button. :)
I mean in the GIF's you are moving your mouse over a character and then pressing a button. If you are relying on mouse movement then you can't do that as moving a mouse isn't one button.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Amon

The only interaction with the characters is when pressing the left mouse button. They do not move according to where the mouse is. The only thing they do is jump when you click them. Everything else is a state machine that runs on its own juice.

To make sure download the test level here:

https://amon.pro/storage/OneJump.zip

:)

Amon

Wait, so moving the mouse over the character is considered controlling them? I thought the interaction to influence the game was one button only; a mouse click on the character.

If I am not allowed to move the mouse to the character then I have misinterpreted the rules. That would mean going back to the drawing board.

Qube

Quote from: Amon. on August 14, 2021, 22:14:21
The only interaction with the characters is when pressing the left mouse button.
I don't think you are understanding :)

1.. The game comp is to use ONE key or button for the main game.
2.. You are using you mouse to navigate to a character and then pressing your mouse button. Moving the mouse pointer is not one key or button.
3.. Effectively this is no different than using WASD to move your crosshair over a character and then pressing 'space' - That's 5 keys. Or using a joystick for navigation and one fire button.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Amon

Gotcha. :)

ok, this is going to be tricky but I think I have a solution. :)

Qube

Quote from: Amon. on August 14, 2021, 22:19:22
Wait, so moving the mouse over the character is considered controlling them? I thought the interaction to influence the game was one button only; a mouse click on the character.

If I am not allowed to move the mouse to the character then I have misinterpreted the rules. That would mean going back to the drawing board.
If moving a mouse were allowed then that control system allows you to do pretty much anything. For example you could use your mouse to select a bunch of units and click where you wanted them to go. This is of course not just one key / button but mouse navigation and a key / button.

I see you've got it now ;D - So one key / button only and no other method whatsoever to control / interact :))
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.