Latest Uploads
Platdude Spotting

Jayenkai

Nom nom nom

Jayenkai

Rainbow Trout

Pakz

King Salmon

Pakz

Snooker

Jayenkai

You've ... o have you

Jayenkai

Code Snippets > Misc ( Created 20 February 2017 | Last Edited 20 February 2017)

Wall Tracing on Random Maps (rpg) by Pakz | No Votes
From the book ai for game developers
Written in
Monkey
Highslide JS

I finally started understanding more things from a book I bought a couple of years ago(ai for game developers) One part in the book explains how to do Wall Tracing.
From the Rogue basin and other sources I started learning and understanding how to make random levels for rpg's and such. I combined the two things.

The code below is MonkeyX1. It creates random levels filled with a random number of entities that crawl across the levels. Based on time it creates and displays a new level. (space can also be used to create a new level)
The size of the levels is also random.

Here the html 5 page :

cromdesi.home.xs4all.nl/html5/walltracing/MonkeyGame.html

-->

Latest Comments

Posted : Monday, 20 February 2017, 16:38
Jayenkai


I'm glad you're learning all these little random-generation techniques.
I've found this kind of thing totally invaluable when doing AGameAWeek, as I rarely have the time to design levels, whilst cramming the game into such small spaces of time.
But even when working at a slower pace, it's still great to have this kind of randomisation within your games.

I'd love to see you tackle a nice big game, with this sort of thing.

Homepage : http://AGameAWeek.com
Posted : Monday, 20 February 2017, 17:41
Pakz


I hope to create bigger games one day. But I am still having to balance between learning all the things needed for making games.

Making good graphics is something that I am way behind with. So it will most likely take me years before I make something big.

I hope to do a couple of hours of #spritesomething today. (Drawing more river fish )

Homepage : http://cromdesi.home.xs4all.nl/
Posted : Wednesday, 22 February 2017, 09:47
rskgames


Hi Pakz,
I am a fan of your code snippets. Found the coding train youtube channel from your tweets.

Do you have this book http://www.ai-junkie.com/books/toc_pgaibe.html. Source code found in https://github.com/wangchen/Programming-Game-AI-by-Example-src

I have this book for the past 10 years, but not read it yet. Seeing your posts makes me want to read.

Thanks

Posted : Wednesday, 22 February 2017, 18:56
Pakz


@rskgames.

I got your pm, I answered there..

I also checked (just yet) for that book in my archives. I still had it but end of last year the ebook company (mobipocket) stopped or bankrupted so I am not able to open the book file anymore(encryption). I contacted the book seller where I bought the book to see if they can help me read the book file. Not happy now!

I payed 50 euro's for that book! Paper is so much safer!

Homepage : http://cromdesi.home.xs4all.nl/
Posted : Wednesday, 22 February 2017, 22:48
rskgames


Sorry for the double post.

-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 599|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Laptop Aaargh...
Jayenkai Fri 17:32
GamerBlock
rockford Fri 16:51
A New Korg Gadget!
Jayenkai Fri 16:35
Happy Birthday, Spinal
Jayenkai Fri 08:40
Watch Switch - Fitbit Blaze
rockford Fri 03:52
London Car/Stab Incident
Jayenkai Thu 13:36
Happy Birthday Evil Roy Ferguson
rockford Wed 16:21
Spinal's Return to Android
Jayenkai Tue 13:41
AGameAWeek : 2017 - Part One
Jayenkai Tue 08:10
Poll : Cooking
Jayenkai Mon 05:11
More

Latest Items
Blog : My Arduino experience.
steve_ancell Fri 13:45
Snippet : Skylines
spinal Fri 06:13
Showcase : Infinitron
rychan Tue 03:02
Dev-Diary : PS2 to N64 Adapter
spinal Sun 10:49
Link : Vector Tutorials/Help page.
Pakz Thu 23:00
Blog : mini project
spinal Sun 10:13
Showcase : Blockman Returns
Jayenkai Fri 03:04
Snippet : Wall Tracing on Random Maps (rpg)
rskgames Wed 22:48
Snippet : Path Following
Pakz Mon 16:25
Snippet : Flowers (Jan 2017)
Kuron Thu 01:13
Showcase : Clusters of Hex
therevillsgames Mon 15:01
Article : Maths 101 - Episode 1: Basic Trigonometry
shroom_monk Sun 14:07
Article : Maths 101 - Episode 5: Line Intersection
shroom_monk Sun 14:02
Dev-Diary : Normals and Dot products
Pakz Sat 20:37
Pets : Molly On The Couch
Jayenkai Thu 04:32
More

Who's Online
rskgames
Fri, at 23:01
therevillsgames
Fri, at 21:13
9572AD
Fri, at 18:07
steve_ancell
Fri, at 18:03
Jayenkai
Fri, at 17:53
rockford
Fri, at 16:55
Krakatomato
Fri, at 15:38
spinal
Fri, at 15:28
Pakz
Fri, at 14:13
shroom_monk
Fri, at 13:09
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.