This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-29 12:34:19

pipercubjl
Scratcher
Registered: 2010-05-20
Posts: 73

Roguelike? Scratch?

Does anyone know any way a Roguelike could be achieved in scratch? How would the player see the map? In a grid of variables? In a list?


http://scratch.mit.edu/static/projects/pipercubjl/2621398_med.png  http://scratch.mit.edu/static/projects/pipercubjl/2634368_med.png
        Crypt            Pixel Lands

Offline

 

#2 2012-06-29 15:44:58

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Roguelike? Scratch?

Roguelike? Explain?

Last edited by zammer990 (2012-06-29 15:45:10)


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#3 2012-06-29 16:26:38

pipercubjl
Scratcher
Registered: 2010-05-20
Posts: 73

Re: Roguelike? Scratch?

Look it up. Basicly a turn based RPG, normally in a dungeon. Like the old game "Rogue." The graphics in a roguelike are generally symbols. like this:



# = wall
@ = character
+ = door



#####################
#                            #
#                            #
#                            +
#                            #
#          @                #
#####################


http://scratch.mit.edu/static/projects/pipercubjl/2621398_med.png  http://scratch.mit.edu/static/projects/pipercubjl/2634368_med.png
        Crypt            Pixel Lands

Offline

 

#4 2012-06-29 16:35:26

wolfdude999
Scratcher
Registered: 2012-01-07
Posts: 1000+

Re: Roguelike? Scratch?

I recommend that you use a list because variables are much wider than just one character and you could make the level wider with a list


http://i48.tinypic.com/15yxmp4.png

Offline

 

#5 2012-06-29 18:27:14

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Roguelike? Scratch?

Now I know what you mean you might want to look at my game "path", it's got an 18x18 grid with collision and special block detection, basically if you press a key it checks the grid for the relevant block, if it's a block you can move into it does, it odes this with 2 variables, x and y pos, if you're moving left it checks letter xpos -1 of item ypos of grid, and you should get the gist, making it random should be easy enough assuming you want the same basic shape rooms etc. Although a playable random could be hard.


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#6 2012-06-29 19:59:00

pipercubjl
Scratcher
Registered: 2010-05-20
Posts: 73

Re: Roguelike? Scratch?

Thanks. That really helps!


http://scratch.mit.edu/static/projects/pipercubjl/2621398_med.png  http://scratch.mit.edu/static/projects/pipercubjl/2634368_med.png
        Crypt            Pixel Lands

Offline

 

#7 2012-06-29 20:04:04

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Roguelike? Scratch?

I'll be sure to look at the game if you publish it.


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

Board footer