Search found 57 matches

by Staffan
Mon Aug 07, 2017 6:07 am
Forum: SGDK
Topic: Writing integers
Replies: 2
Views: 3161

Writing integers

Hello,
Its certainly not hard to write text to the screen in SGDK. I wonder though if there is some way to write a number (a variable), to see how many coins left on a level etc etc.
by Staffan
Thu Jul 20, 2017 6:30 am
Forum: SGDK
Topic: What I got so far, and HELP! :)
Replies: 12
Views: 7664

Re: What I got so far, and HELP! :)

The adventure of Lolo was actually a single screen game, but the BEST one. (Next to bubble n Bubble).
Now when im porting it, I use 3x3 characters instead of original 2*2, its doesnt fit a single screen anymore.

I might even steal the original level design, because I hte to design levels. :)
by Staffan
Thu Jul 20, 2017 6:24 am
Forum: SGDK
Topic: Tiles
Replies: 10
Views: 6675

Re: Tiles

Thanx again!
Now I can out tiles in the background as well.

Does anyone know how to see what tile im standing on?
I mean read the data and se what character is under a certain sprite?
by Staffan
Sun Jul 16, 2017 2:13 pm
Forum: SGDK
Topic: What I got so far, and HELP! :)
Replies: 12
Views: 7664

Re: What I got so far, and HELP! :)

That did the trick. Putting scroll after vsync. :)
Tjanx alot!
by Staffan
Sun Jul 16, 2017 2:11 pm
Forum: SGDK
Topic: Where are all the games!
Replies: 10
Views: 7637

Re: Where are all the games!

Yeah... I know this problem from the C64 community. People just released "previews", just to show whats possible, but never finish it.
by Staffan
Fri Jul 14, 2017 8:13 pm
Forum: SGDK
Topic: Where are all the games!
Replies: 10
Views: 7637

Where are all the games!

Hi! It just struck me that I dont know any new megadrive games. I recently downloaded shareware wolfenstein and Im waiting for Tanglewood but thats it. Seeing all the threads here and hearing Stef saying that he answered the same questions 4 times, makes me wonder: Were are all new megadrive games? ...
by Staffan
Fri Jul 14, 2017 8:08 pm
Forum: SGDK
Topic: What I got so far, and HELP! :)
Replies: 12
Views: 7664

Re: What I got so far, and HELP! :)

Hello again, yes for small projects like this I use a lot of global varables, because I think its the fastest way to develop. Might be a little ashamed to say now that I work as a programmer :) Dont really see the point in being able to scroll faster than 1 pixel for this game. The main sprite contr...
by Staffan
Fri Jul 14, 2017 11:35 am
Forum: SGDK
Topic: What I got so far, and HELP! :)
Replies: 12
Views: 7664

Re: What I got so far, and HELP! :)

Hi! Thanx for all answers, well its only one pixel high. I have now tried and do it with a camera. Its the same bug, but perhaps its something with the emulator? What kind of emulator did you use, when you didnt see it? I now have the positions of sprites in a separe array, so at least it shoudnt be...
by Staffan
Wed Jul 12, 2017 6:38 am
Forum: SGDK
Topic: What I got so far, and HELP! :)
Replies: 12
Views: 7664

What I got so far, and HELP! :)

Hello Everyone, Below you will find my project attached. I dont have much time to work on this, but now I have wasted half of the time I spent on this on the same problem. When I walk up and the screen scrolls the sprites doesnt follow automaticly, so I have to update them by hand. When I change my ...
by Staffan
Thu Jul 06, 2017 2:55 pm
Forum: SGDK
Topic: SHMUP scrolling game
Replies: 12
Views: 6933

Re: SHMUP scrolling style game

Welcome! Im also new at sgdk, and Im as just as Impressed as you. :) I also tried to scroll the plane horizontally today, and after a while it returned to start again. This means that you could redraw the start of the plane before you get there, so that it doesnt look the same when you get back ther...
by Staffan
Thu Jul 06, 2017 2:46 pm
Forum: SGDK
Topic: Tiles
Replies: 10
Views: 6675

Re: Tiles

Tiles are characters right? At the commodore 64 i used characters because they are so fast. If I use an image like you said, can I still load it
to the TILE_USERINDEX adress, and then use it with VDP_setTileMapXY?
by Staffan
Wed Jul 05, 2017 8:22 am
Forum: SGDK
Topic: Tiles
Replies: 10
Views: 6675

Re: Tiles

Well, I have a tileset resource that exist as a resource in my code, but I dont know how to use it in any functions....
Havent found a single example that loads my tileset. Tried to use the same funktions as the hardcoded tileset in sprite example, but didnt work.
by Staffan
Tue Jul 04, 2017 7:08 am
Forum: SGDK
Topic: Tiles
Replies: 10
Views: 6675

Tiles

Hello Again!
I was wondering if anyone have a tile example. Because I dont want to make sprites of everything :)

There iare some tile examples, but they are always hardcoded into memory. I was wondering if it was possible with a png image and some cool SGDK commands :)
by Staffan
Sat Jun 24, 2017 2:33 pm
Forum: SGDK
Topic: SPRITES
Replies: 15
Views: 11454

Re: SPRITES

Ok, I used a 16 color bitmap whick "kindof" worked. But with png it worked flawlessly :)
by Staffan
Sat Jun 24, 2017 11:32 am
Forum: SGDK
Topic: SPRITES
Replies: 15
Views: 11454

Re: SPRITES

Original sprite:
lolo.gif
lolo.gif (1.04 KiB) Viewed 9618 times
How he loads it:
test.gif
test.gif (1.53 KiB) Viewed 9618 times
I really want to be one of those guys that asks about everything on the forum...but Im stuck here. Ive been checking the sprite tutorial quite alot now. I just had alot of time with this this weekend. This is not the usual me, with two kids :)