Jump to content


_232405

Member Since 09 Oct 2011
Offline Last Active Nov 10 2011 03:48 PM

Topics I've Started

working on a html5 random rpg

23 October 2011 - 12:29 PM

http://swtor.6te.net/

sofar

use arrow keys to move the cursor

if click walk button whit your left mouse key you can controll the char
if click walk button whit your right mouse key stop moving the char

if press 5 key you can place a wall at the cursor place
if press 1 key get a random room

sofar all made from sprites and char is a object

still looking how can create a text file so that i can read from that file into the array to make levels

how do i display a counter made from variable

22 October 2011 - 09:52 PM

set the color
set the font
made draw event

made a code before that whit a=a+1 if i press abutton

made a text "hoi hello"+a

then i get this hoi hello 0

but after i press a button i cant read the numbers any more and after 10 numbers it is a complete mess full square 1 color block

how can i write this array to a file

22 October 2011 - 10:41 AM

got this code and now trying to write this array in the code to a text file and read it again

{
for (i=0; i<=25; i+=1)
{
for (j=0; j<=14; j+=1)
{
// soort random item generator
item = irandom_range( 0, 10 );
if item = 1 then global.map_info[i,j]= "1";
if item = 2 then global.map_info[i,j]= "2";
if item = 3 then global.map_info[i,j]= "3";
if item = 4 then global.map_info[i,j]= "4";
if item = 5 then global.map_info[i,j]= "5";
if item = 6 then global.map_info[i,j]= "6";
if item = 7 then global.map_info[i,j]= "7";
if item = 8 then global.map_info[i,j]= "8";
if item = 9 then global.map_info[i,j]= "9";
if item = 0 then global.map_info[i,j]= "0";
if item = 10 then global.map_info[i,j]= "10";





}
}
}

error

20 October 2011 - 03:49 PM

html5 get error if make a load or save object into program

html5 how do i make a webpage link inside the

09 October 2011 - 07:41 AM

how do i make a webpage link inside the html5 canvast

so that i can make a webpage from html5

wane make a space **** if fly to a planet or object so enters a webpage