Stunt Marble Racers 2

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Stunt Marble Racers 2

Post by Brainsaw »

Hello community,

after two years with neither the motivation not the time to code something interesting I got appetite to create something a few months ago. After some long evenings and a lot of free time spent (OK, it was winter time - better than watching TV ;) ) I now have a first alpha version of my latest marble racing game for you to test:

http://dustbin-online.de/dowload/marbles3.zip

It is a simple racing game where up to 4 marbles race against each other. At the moment you can do a time trial against the clock and a ghost (previously played laps) and the up to 4 player network mode is (more or less) ready.

What I still want to add is the possibility to share ghost files over the internet and to download new ghosts to the client, but I haven't even started that part. I also want to create a standalone server.

The tracks in the package are most certainly not the final tracks although some of them will make it into the final version I guess.

I also have a video online although it's an old version: https://www.youtube.com/watch?v=7s3OUbXc5Ec

Finally here are some screenshots:

Image
Image
Image
Image
Image
Image
Image

I hope you have fun with the early version and can provide some feedback.

And I think I will most probably provide you with some new code snippets, but at the moment the whole source code lacks documentation and I'll also have to make nice packages before I publish those snippets.
Last edited by Brainsaw on Fri Mar 10, 2017 7:20 am, edited 1 time in total.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

Damn .. I deleted the images yesterday in a homepage update - I'll re-add them tonight, here in the office I don't have access to my homepage ;)
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
chronologicaldot
Competition winner
Posts: 684
Joined: Mon Sep 10, 2012 8:51 am

Re: Stunt Marble Racers 2

Post by chronologicaldot »

Bravo!
Reminds me of a few tilt-n-roll games I've played on tablets (very annoying) and the PC game AtmoSphere from Digipen (really fun): http://games.digipen.edu/downloads/Atmo ... 0&proj=487
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Stunt Marble Racers 2

Post by CuteAlien »

Congratz. Some minor problems:
- Can crash when changing shadow settings a few times.
- Texture-filter settings seem to be rather low (should enable triliniear + anisotropic)
- My computer to weak for best shadows :-(
- Needs music soundtrack!

Impressed with moving platforms (alwas tricky to get right with physics ^_^)
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Vectrotek
Competition winner
Posts: 1087
Joined: Sat May 02, 2015 5:05 pm

Re: Stunt Marble Racers 2

Post by Vectrotek »

Cool! I like the multi-sampled approach to the shadowing..
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

I am currently developing the next release and hope to get it online by next weekend. Some changes:

- Crash when changing settings (hopefully) fixed
- Some more tracks
- Impressive new feature to use your smartphone as remote controller (still needs some enhancements)

Mainly I'm at the moment I'm busy with doing some re-factoring for the big features that are planned:

- replay mode (ghost / race)
- splitscreen for up to 4 players
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

Just uploaded a new version to http://dustbin-online.de/download/marbles3.zip.

There are some more tracks in, and a fancy new feature: remote control. You can now control the marble during gameplay with you smartphone. The feature is only tested with Android (both Firefox and Chrome) but it does not seem to work with iPhone. I have also uploaded a video showing the feature:

https://www.youtube.com/watch?v=xPfPmsRC5bE

It has a poor video quality so you can't really see which menu items need to be selected. The button shows a "Start Remote Control" text. When clicking this button a server is started (using port 4693 at the moment) and a QR code with the URL that needs to be loaded in the browser on your mobile device is shown. Open this link and the remote control will connect to the game.

You must be in a private network because resolution of the host name doesn't work otherwise. Your PC and your mobile phone must be in the same network.

Image
Image
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

Just uploaded a new version:

- bug fixed with the non-used marbles in network client mode: no longer visible
- rework of the UI: please give me some feedback, I hope it's intuitive
- new mode "Replay Ghost": replay a recorded ghost from the perspective of the player

Hope you have fun with the new version

http://dustbin-online.de/dowload/marbles3.zip
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

The last 2 days I spent some time enhancing the remote control feature (mainly CSS and JavaScript magic ;) ):

You can choose between 3 types of control:
Image

"Full touch" gives you a virtual gamepad on the right for movement control and a blue button on the left for the brake
Image

"Gyro steer - touch throttle" lets you control the sideways movement using the smartphone rotation while you have a three-way touch field on the right for foreward movement and the blue button on the left for the brake
Image

"Full gyro" lets you do all the movement with the orientation of the smartphone - just the blue button for the brake is still needed. Furthermore you have the green button in the upper right corner that lets you set the current zero position for the acceleration
Image


Download the new version from http://dustbin-online.de/dowload/marbles3.zip
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

A new version is ready for download: http://dustbin-online.de/dowload/marbles3.zip

The fancy new feature is splitscreen. Here are some screenshots:

Select number of players and player names:
Image

Select controls for the players (remote control by smartphone also possible):
Image

Select track and number of laps:
Image

Race (to be honest: the display of the notebook I'm using for development is too small for 4 player splitscreen ;) :
Image

Race finished, view result:
Image

There are two things missing: shadows in splitscreen, I guess I'll have to take a deeper look into XEffects and do some modifications to get shadows there, and the race times in the result screen.

Have fun with the new version
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

I found a little bug yesterday so I uploaded a new version: now the number of laps can be selected in the splitscreen dialog.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

I was afraid that getting the shadows into splitscreen would be hard, but it turned out to be easy: simply render offscreen, copy the rendered image to screen and you're done:
Image

Get the latest version from http://dustbin-online.de/dowload/marbles3.zip
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Stunt Marble Racers 2

Post by Brainsaw »

I just uploaded a video of the 4 player splitscreen:

https://www.youtube.com/watch?v=XmrPKih ... e=youtu.be
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Stunt Marble Racers 2

Post by CuteAlien »

Nice features :-) I'm glad split-screen works so well - haven't seen that one used much yet in Irrlicht games.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
MartinVee
Posts: 139
Joined: Tue Aug 02, 2016 3:38 pm
Location: Québec, Canada

Re: Stunt Marble Racers 2

Post by MartinVee »

Just curious, how did you setup the split screen?
Post Reply