January 16, 2021, 03:03:22 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Gallery
Login
Register
SyntaxBomb - Indie Coders
»
General Category
»
Worklogs
»
Mine Blast - Sept contest entry - Random Pac-Man like maze generator
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Mine Blast - Sept contest entry - Random Pac-Man like maze generator (Read 2138 times)
TomToad
Hero Member
Posts: 521
Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
on:
September 18, 2018, 01:13:38 AM »
Working on my September contest entry. Not completely sure where I am going with it, but I managed to make a nice maze generator that creates Pac-Man like mazes. Here are a few examples.
Logged
------------------------------------------------
8 rabbits equals 1 rabbyte.
Qube
Administrator
Hero Member
Posts: 2587
I mostly code at night... Mostly.
Re: Random Pac-Man like maze generator
«
Reply #1 on:
September 18, 2018, 02:53:43 AM »
Oo er, that's working really well, nice one
- auto maze generation is not as easy some may think.
Logged
Mac mini ( 2018 / 2020 ), 3 GHz 6-Core Intel Core i5, 16 GB 2667 MHz DDR4, 1TB NVMe, eGPU Radeon Pro 580 8 GB, LG Ultragear 27GL83A-B 27 Inch
Commodore VIC-20, 1.1Mhz MOS 6502 CPU, 5KB RAM, VIC ( 6560 ) GPU
Until the next time...
Xerra
Hero Member
Posts: 1204
Wait, what? This isn't Porn Hub?
Re: Random Pac-Man like maze generator
«
Reply #2 on:
September 18, 2018, 05:31:43 PM »
Pretty cool. I've tried and failed miserably to do something like this before. What language have you written it in and are you going to share it?
Logged
Latest game -
https://xerra.itch.io/tommygunn
W.I.P: Slacking
Blog:
http://blog.xerra.co.uk
Website:
http://retroevolved.co.uk/retro-evolved
Itch.IO:
https://xerra.itch.io/
TomToad
Hero Member
Posts: 521
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #3 on:
September 18, 2018, 06:12:01 PM »
I think I know where I'm going with this now. Creating a game where you must blast all the mines in the maze with your ship without colliding into any of them. I have an early demo here to show off the maze creation abilities
http://www.tomtoad.com/monkey2/mineblast/MineBlast.html
, the mines move around randomly and the ship doesn't move at all. The only control available is pressing space to create a new maze.
As for releasing the maze creation code, I will probably do that after the contest is over.
Logged
------------------------------------------------
8 rabbits equals 1 rabbyte.
Steve Elliott
Hero Member
Posts: 2917
elgol 2021
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #4 on:
September 18, 2018, 08:31:18 PM »
Cool stuff
Logged
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry Pi 400, Pi4, BBC B, C64, ZX Spectrum
TomToad
Hero Member
Posts: 521
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #5 on:
September 19, 2018, 11:44:26 PM »
Now you can steer the ship with WASD and fire with space. Generate a new maze with N. No collision detection nor AI yet.
http://www.tomtoad.com/monkey2/mineblast/MineBlast.html
Logged
------------------------------------------------
8 rabbits equals 1 rabbyte.
iWasAdam
Hero Member
Posts: 2057
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #6 on:
September 20, 2018, 05:51:10 AM »
Great looking stuff
Logged
TomToad
Hero Member
Posts: 521
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #7 on:
October 12, 2018, 07:37:45 PM »
After a few weeks away from this due to illness, I am now giving a big, last minute push to finish as much of it as I can. I now have the basics done, movement, explosions, collisions, etc.. Just need to add sound, scoring, and some polish. If I have time, I want to add bonuses and upgrades.
To play, there are 6 spawn points in each maze that spawn mines. You need to destroy all 6 spawn poins and all mines to complete the level. You get 3 lives to do so.
http://www.tomtoad.com/monkey2/mineblast/MineBlast.html
Logged
------------------------------------------------
8 rabbits equals 1 rabbyte.
Matty
Hero Member
Posts: 1332
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #8 on:
October 12, 2018, 09:49:10 PM »
It's quite nice...very nice....if it's too hard to have music it would be nice to have some explosion sounds and little laser pew pew sounds....
Logged
I eat cheese in the trees when its eight degrees
Steve Elliott
Hero Member
Posts: 2917
elgol 2021
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #9 on:
October 12, 2018, 09:54:08 PM »
Good work mate, and wish you well on your recovery.
Logged
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry Pi 400, Pi4, BBC B, C64, ZX Spectrum
TomToad
Hero Member
Posts: 521
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #10 on:
October 12, 2018, 10:31:58 PM »
Grrr. Added some audio and a background music track. Works just fine when I run it from Ted2go, but seems to fail when uploaded to my site and ran from there.
Logged
------------------------------------------------
8 rabbits equals 1 rabbyte.
TomToad
Hero Member
Posts: 521
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #11 on:
October 12, 2018, 11:01:04 PM »
Alright, got it to work. Seems that Chrome wants to load some parts from cache even when I try reloading the page. Solution was to open the developers panel and click on disable cache to force a reload. Just right-click the page, select "Inspect", check "Disable Cache", reload page, then everything should work after that.
Added sound and background music to the game. Created a rather crude splash screen as I needed to properly attribute the creator of the background music to use it legally. When I get a main menu together, that will be moved to a "Credits" section.
Now I need to add scoring, a main menu, and a bit of polishing. 2 days left, might be able to finish in time.
@Steve Elliott: Thanks for the wishes. I am about 90% recovered now. Doc says I should be 100% in about a week or two. Had a very bad infection in my salivary gland. right side of my neck looked like Jaba the Hut. Could barely open my mouth, had to pry my teeth just to fit a spoonful of soup inside. Was put on a regimen of antibiotics and steroids to get the infection and swelling under control.
Logged
------------------------------------------------
8 rabbits equals 1 rabbyte.
Steve Elliott
Hero Member
Posts: 2917
elgol 2021
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #12 on:
October 12, 2018, 11:04:00 PM »
A week or 2 sounds like good news despite a horrible experience.
Logged
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry Pi 400, Pi4, BBC B, C64, ZX Spectrum
Qube
Administrator
Hero Member
Posts: 2587
I mostly code at night... Mostly.
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #13 on:
October 12, 2018, 11:11:27 PM »
Glad to hear you are getting better
Cool game, look forward to playing more
Logged
Mac mini ( 2018 / 2020 ), 3 GHz 6-Core Intel Core i5, 16 GB 2667 MHz DDR4, 1TB NVMe, eGPU Radeon Pro 580 8 GB, LG Ultragear 27GL83A-B 27 Inch
Commodore VIC-20, 1.1Mhz MOS 6502 CPU, 5KB RAM, VIC ( 6560 ) GPU
Until the next time...
TomToad
Hero Member
Posts: 521
Re: Mine Blast - Sept contest entry - Random Pac-Man like maze generator
«
Reply #14 on:
October 14, 2018, 01:12:09 AM »
Managed to get most of a working game done. Scoring, sound, main menu, etc... It is not completely what I want, but I won't have any more time before the deadline, so this version is the last until after the voting.
Showcase entry:
https://www.syntaxbomb.com/index.php/topic,4950.0.html
Logged
------------------------------------------------
8 rabbits equals 1 rabbyte.
Print
Pages: [
1
]
Go Up
« previous
next »
SyntaxBomb - Indie Coders
»
General Category
»
Worklogs
»
Mine Blast - Sept contest entry - Random Pac-Man like maze generator
SimplePortal 2.3.6 © 2008-2014, SimplePortal