First Symbos Application

Página 44/47
37 | 38 | 39 | 40 | 41 | 42 | 43 | | 45 | 46 | 47

Por edoz

Prophet (2465)

imagem de edoz

18-02-2014, 17:28

Just do it in Basic as you like. During the compile just save the data from the basic code to a .dat file and load it during run time ?

Por edoz

Prophet (2465)

imagem de edoz

19-02-2014, 17:54

Let's make it :D

Por Trebmint2

Master (242)

imagem de Trebmint2

19-02-2014, 18:03

Haha that looks cool. Im sure we can get this running as good as the original in symbos, if not better Smile

Por edoz

Prophet (2465)

imagem de edoz

19-02-2014, 19:53

Yes I hope so ! I am just playing around with the graphics.. Maybe i can animate chuckie already but I have some troubles wit h this sheet. The sheet of chuckie contains al the movable images. But I cannot set the titles... How can you set the title x / y as for each title in the sheet ? So title 1 is image 1 and title 2 is image 2 etc.

Por Trebmint2

Master (242)

imagem de Trebmint2

19-02-2014, 20:11

Hi edoz. This is something I'm actually thinking about at the moment, and will ultimately result in a tile definer.

However at the moment tiles on a sheet are supposed to be of equal size, so an an image containing a horizontal strip of 8 images of chuckie is calculated via IncludeSheet when it exports

So if the image has 8 images of chuckie and the original image size is 128x16 we can just do
IncludeSheet "chuckie",sheet number,1 (as its 16 colour), 16 (as this is the sheet width divided the number of horizontal tiles), 16 (as this is the sheet height divided by the number of vertical tiles).

We then load the sheet in with
chuckiesheet = loadsheet(initdir$+"chuckie.gsh")
SetGraphicObj imagebox1_id,chuckiesheet,0..7 depending on the tile number

Por edoz

Prophet (2465)

imagem de edoz

19-02-2014, 20:31

Ok. I understand it !.. I will try it!.. I can already work on the moving functions etc. I still surprised how cool symstudio is works......

Por Trebmint2

Master (242)

imagem de Trebmint2

19-02-2014, 20:56

edoz wrote:

Ok. I understand it !.. I will try it!.. I can already work on the moving functions etc. I still surprised how cool symstudio is works......

I'm just going to try and add basic Tile width/Height facility in the Sheet area. Imageboxs really should auto default to the correct tile size in the editor... ultimately we need to integrate a tile definer though.

Yeah you can work on it, but I would say its probably impossible to do the game until we have the graphics library... coming soon

Actually the plan is that a Tile definer... Creates tiles for the Level editor & Tile animator... And the level editor spits out the data for games etc. SymStudio is really a content creator with an integrated assembler/compiler. I plan it to be the game writing tool I always wanted

Por edoz

Prophet (2465)

imagem de edoz

19-02-2014, 20:56

I don't know if it is not possible with current release of symstudio as I can build the levels on different forms just with image boxes -;

Por Trebmint2

Master (242)

imagem de Trebmint2

19-02-2014, 21:00

edoz wrote:

I don't know if it is not possible with current release of symstudio as I can build the levels on different forms just with image boxes -;

Well if each 8x8 of floor/ladder can be fitted into the limit of 250 objects then yes its possible. I suggest you dont try though.... Its a really bad way to do it. Pacman / tetris etc I know work this way (and yes tetris could just as easily be tiles in imageboxes as opposed to paintboxs), but the new graphics library is the way to go Smile

Por edoz

Prophet (2465)

imagem de edoz

19-02-2014, 21:05

I known.. But I think I will just do the movments on a test level created by imageboxes ...

Página 44/47
37 | 38 | 39 | 40 | 41 | 42 | 43 | | 45 | 46 | 47