GLBasic forum

Main forum => Announcements => Topic started by: Ian Price on 2012-Feb-23

Title: Dino Defense
Post by: Ian Price on 2012-Feb-23
Here's an in-game image of my Dino Defense game. Decided against going the Plants vs Zombies route. It's now more like a platform based Tower Defense. It's going well so far. The cavemen are animated, but the dinos aren't yet. The game is actually playable, but lacking a lot.

All graphics and other elements are still very WIP and (c) me.

Hopefully I can get it done for the Pandora comp. I've still got so much to do and I've still not tested on a real Pandora yet. It could all end in tears.  :'(

[attachment deleted by admin]
Title: Re: Re: Help me with a good name =)
Post by: Kitty Hello on 2012-Feb-24
that looks sweet.
I like the lemmings-style "toolbar".
Title: Re: Re: Help me with a good name =)
Post by: spacefractal on 2012-Feb-24
Ian, would been cool to start a new thread about this really another nice clone to prevent confuction and hijacking the original thread. Would been nice to follow both game in each thread.

elsewise, its a great change and very great idea :).
Title: Re: Dino Defense
Post by: Ian Price on 2012-Feb-27
OK. I've split the thread so that I don't hijack the original. Still waiting for a progress report on that game...

Anyway, slow and lacking video demo here -


Vid is less than 50% actual game speed and is obviously VERY early WIP.

What you can see though is a selection of units that will be available in the game and how they function.
Title: Re: Dino Defense
Post by: erico on 2012-Feb-27
Looking great! :good:

any possibility for a blondie virgin to be sacrificed? :P
Title: Re: Dino Defense
Post by: Crivens on 2012-Feb-27
Looks a bit like Renegade 3...

Cheers
Title: Re: Dino Defense
Post by: Wampus on 2012-Feb-27
Ian, height/platform is a clever twist on the PvsZ style tower defense game. There are so many clones of PvsZ its become a truly saturated style of game now. Speaking as a huge PvsZ fan this is different enough to be of interest.
Title: Re: Dino Defense
Post by: Ian Price on 2012-Feb-27
Yeah, it's a bit different, but still retains that Tower Defense style. Terrain has a big impact on gameplay. What I haven't shown is that the terrain affects the dinos too.

And Crivens - come over here and say that. I'll punch ya lights out for that statement! :P Renegae 3 was absolute shite.
Title: Re: Dino Defense
Post by: Wampus on 2012-Feb-27
Quote from: Ian Price on 2012-Feb-27
And Crivens - come over here and say that. I'll punch ya lights out for that statement! :P Renegae 3 was absolute shite.

Oh god! I remember getting that as a game rental. It was like rushing home expecting to watch the sequel to Fight Club only to find you'd been slipped an episode of The Flintstones, where Barney and Fred get cancer.
Title: Re: Dino Defense
Post by: Ian Price on 2012-Feb-27
QuoteOh god! I remember getting that as a game rental. It was like rushing home expecting to watch the sequel to Fight Club only to find you'd been slipped an episode of The Flintstones, where Barrney and Fred get cancer.
I see we both saw exactly the same thing! I can't believe how awful Renegade 3 was after the first two games were so good.
Title: Re: Dino Defense
Post by: bigsofty on 2012-Feb-29
I agree, looks great Ian, I will be keeping my eye on this one!  :good:

Quote from: erico on 2012-Feb-27
any possibility for a blondie virgin to be sacrificed? :P
We are talking about in the game Erico? hehe :P
Title: Re: Dino Defense
Post by: Crivens on 2012-Feb-29
QuoteAnd Crivens - come over here and say that. I'll punch ya lights out for that statement!  Renegae 3 was absolute shite
Good point. But it *looks* like it. If it plays like it then obviously you are going for retro-crap goodness and possibly are insane :)

And yes, the first two were brilliant. Even if the C64 version looked like lego blocks ;)

Cheers
Title: Re: Dino Defense
Post by: Ian Price on 2012-Feb-29
QuoteGood point. But it *looks* like it.
Don't worry - most of what you see are just place-holders (even the dinos). I've altered them a fair bit already...
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-07
Just a little update.

[attachment deleted by admin]
Title: Re: Dino Defense
Post by: erico on 2012-Mar-07
What?? little??

got to be joking, it looks great!
Love the clouds! :-*
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-11
Starting to look more like the game I want it to be now (still WIP).

[attachment deleted by admin]
Title: Re: Dino Defense
Post by: erico on 2012-Mar-12
super deformed dinos! great!
Title: Re: Dino Defense
Post by: quangdx on 2012-Mar-12
Coming together very nicely, looks great.
Poor T-Rex and his short arms, if only he was able to clap.

http://trextrying.tumblr.com/
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-12
Quote from: erico on 2012-Mar-12
super deformed dinos! great!
Yep, that's what I'm going for :)
Title: Dino Defense
Post by: Kitty Hello on 2012-Mar-12
Looks fantastic.
Title: Re: Dino Defense
Post by: Marmor on 2012-Mar-12
crazy for Dinsosaur !   lol awesome
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-14
I can now show some of the mechanics of the game - they are all working properly too :)

(http://www.iprice.remakes.org/my_stuff/dino01.PNG)

(http://www.iprice.remakes.org/my_stuff/dino02.PNG)

(http://www.iprice.remakes.org/my_stuff/dino03.PNG)

All the gfx are WIP, but unlikely to change before the competition deadline (31st March).

Title: Re: Dino Defense
Post by: Nathan on 2012-Mar-14
Looks really good, I'm very impressed.  I've always thought we could do with more caveman flying helicopters.
Completion deadline?  Whyz that then?

Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-14
It's being written for the Pandora Rebirth competition, although i will be releasing it for pc too.

And yes, there definitely are not enough games with cavemen flying helicopter type devices! :D
Title: Re: Dino Defense
Post by: spacefractal on 2012-Mar-14
Actuelly look better and better, and interface seen very cool and nice designed. Like you did changed it a bit, so it's was not al plant vs zombie clone, but just a nice tower defender game.

Good Work :-D
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-14
Cheers :)

It really doesn't feel like PvZ, despite some similarities. The height aspect added by the ground platforms changes things significantly. Obviously there are some things that you can't get away from (it is a TD game after all), but I've tried to make it my own. Hopefully (and that's a big hopefully) it will be as enjoyable to others as it is to me. There's lots still to do, including the most important aspect of the game - the dinos.
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-27
Here's a recent video, showing the game in action.

Title: Re: Dino Defense
Post by: quangdx on 2012-Mar-27
Looking good Ian.

I know things aren't final yet, but currently the dinos feel very erm... robotic/static?
I think because there's no vertical movement of their heads.
I would make the flying ones fly on a very subtle sinwave, so they move up and down smoothly just a couple of pixels, in time with the wings flapping.

Keep up the good work.
Title: Re: Dino Defense
Post by: tatakamucher on 2012-Mar-28
looks good
Title: Re: Dino Defense
Post by: matchy on 2012-Mar-28
Nicely designed.  :good:
Title: Re: Dino Defense
Post by: Kosta on 2012-Mar-28
Hi Ian,

if you need some language translations again..... 

  just ask in forum...

i'm sure you will get enough help/replies...


game looks great.... can't wait to play it (my Pandora is actually "under delivery")
Title: Re: Dino Defense
Post by: Minion on 2012-Mar-28
Quote from: Kosta on 2012-Mar-28
game looks great.... can't wait to play it (my Pandora is actually "under delivery")

Ive tried it on the Pandy, and if Ian gets in it what hes hoping to its gunna ba a lovely game for it. It plays really well so far ;)
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-31
I've now upped the game to the OpenPandora competition. It's not anywhere near 100% complete, but I'm out of time.

I'll post a link for pc soon.
Title: Dino Defense
Post by: Kitty Hello on 2012-Mar-31
Good luck!
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-31
Cheers. It's a pretty major update over the one I sent you Gernot, so if you haven't looked at that one yet, don't!
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-31
Of course, you'd all have my eternal gratitude if you registered and voted for DinoDefense over at the OpenPandora forums. ;)

It would also be a big boost for GLBasic to say that it had a part to play in having a game in the comp.
Title: Re: Dino Defense
Post by: Wampus on 2012-Mar-31
Should I do that, even thought I don't have a Pandora?  :-[
Title: Re: Dino Defense
Post by: Ian Price on 2012-Mar-31
I don't have a Pandora and I've been registered there for a while.

It's up to you of course. There are some strong contenders in the competition; I need all the support I can get.
Title: Re: Dino Defense
Post by: Wampus on 2012-Mar-31
Sure thing. Signing up now.
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-03
The Pandora game has now been released for the competition, so I can now release the same version for pc -

It is not complete and there's lots that I didn't have time to add/implement/fix before the deadline - especially with the graphics and sfx.



[EDIT]Link removed - file was outdated. Pandora exclusive for now.
Title: Re: Dino Defense
Post by: Nathan on 2012-Apr-03
Just gave this a quick go at work, superb work there.   :good: :good: :good:
I presume level 2 has the bugs, as my "squad" didn't seem to realize they were being attacked?
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-07
Quotemy "squad" didn't seem to realize they were being attacked?
What do you mean? They didn't react? Didn't throw/fire weapons?

They don't react in any way to being attacked. They keep throwing spears or firing arrows or drop rocks etc. until they die.

I have never seen them not do this. It's impossible for them not to. If a dino is onscreen and at their level, they will attack; if not they stop and wait. They don't run away or anything like that. They're not supposed to.

I've updated the Pandora version a few times since this release, but there seems to be a distinct lack of interest in a pc version, so it'll remain as a Pandora exclusive for now.
Title: Re: Dino Defense
Post by: Kosta on 2012-Apr-07
hmm.. for me was level 2 working as wished...

but i would change following: the death-animation of the blocking rocks. if a "Blocking Rock" dies... it changes into a "perhistoric man/angel" and goes/fly up.
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-07
Quoteif a "Blocking Rock" dies... it changes into a "perhistoric man/angel" and goes/fly up.
It doesn't do that now; that was a pretty old WIP and a lot has been fixed, changed and added since then :)
Title: Re: Dino Defense
Post by: Nathan on 2012-Apr-11
Quote from: Ian Price on 2012-Apr-07
What do you mean? They didn't react? Didn't throw/fire weapons?

My mistake, when I gave it a quick go I assumed the archers arrow would fly in an arc trajectory and hit targets on the ground as well as in the air.

Quote from: Ian Price on 2012-Apr-07
I've updated the Pandora version a few times since this release, but there seems to be a distinct lack of interest in a pc version, so it'll remain as a Pandora exclusive for now.

Yeah I noticed this too, I expected a great deal more of interest than this.
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-11
Cheers for the clarification :)

It's a shame about the pc version, but there you go. It wasn't just here that lacked interest but a couple of other sites I posted on too.

The Pandora version seems to be going down well though :)
Title: Re: Dino Defense
Post by: erico on 2012-Apr-11
I guess the PC version needs more `display´.
People will love it but they must ´find´ it to do so.

I have been compiling a list of indie sites as well as online stores in a hope to do advertisement and also distribute to as many online stores as possible should I happen to finish my game.

I plan to share it all and I hope we can all add to that to our own benefit.

Work has got me off the track to finish my game for the pandora comp :'(
Such is really sad.

But hey! now you get my vote! :P
Title: Re: Dino Defense
Post by: r0ber7 on 2012-Apr-11
This game reminds me of Prehistorik. Which is a good thing.  :good:

(http://www.old-games.ru/games/pc/prehistorik/screenshots/historik_007.png)

One of the first games I ever played, I loved it.

http://www.youtube.com/watch?v=1mDNnBQbmqU  =D
Title: Re: Dino Defense
Post by: Nathan on 2012-Apr-11
And it sort of reminds me a game I've just downloaded for iOS ...

http://itunes.apple.com/us/app/1096-ad-knight-crusades/id511197591?ls=1&mt=8 (http://itunes.apple.com/us/app/1096-ad-knight-crusades/id511197591?ls=1&mt=8)

Looking at the screenshots you probably think it doesn't look anything like this but if you play it you might see might I mean.  Erm, maybe.
Title: Re: Dino Defense
Post by: BdR on 2012-Apr-11
The graphics look great, did you do them yourself? If so, what tools did you use?
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-11
MSPaint for all images and GIMP to add blur to the background image.

Just downloaded that Cruseads game. Not played it yet. DD was not based on any existing game (that I know of), other than Plants vs Zombies, and I deliberately aimed for something different to that too.
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-16
I've updated the game quite a bit since the first version (and fixed numerous bugs). Here's the Windows version -  http://www.iprice.remakes.org/my_stuff/DinoDefense_pc.zip

Pandora version available from the Pandora Repo - http://repo.openpandora.org/?page=detail&app=dinodefense-dinodefense-15443
Title: Re: Dino Defense
Post by: Kitty Hello on 2012-Apr-16
that's a really lovely game. I like the concept.
Title: Re: Dino Defense
Post by: r0ber7 on 2012-Apr-16
Level 3 isn't easy! Fun game it is.  8)
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-16
Remember, you can replay earlier levels to help build up your bones - spend these on upgrades to make everything a bit easier.
Title: Re: Dino Defense
Post by: r0ber7 on 2012-Apr-16
I didn't get the concept of the bones. It just said "use it for upgrades" but no one told me how. I'm intentionally stupid, cause your future players will be. ;-)

Title: Re: Dino Defense
Post by: Kitty Hello on 2012-Apr-16
yes. Didn't get the bone thing, too.
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-17
Due to time constraints etc. I didn't explain much about anything. Obviously future versions will expand and make these things clearer.

If you still don't understand the bones are currency which can be spent in the upgrade shop (click on the spanner on the unit selection screen). There you will find a number of possible units that you can purchase or upgrade to improve your units or to make life easier.

In the upgrade screen -

All purchases are permanent. You never lose the skills/bonuses.

The statues (top left) will increase the number of spheres they produce by 1, starting from an initial 10.

The soul spheres (top right) increase your starting funds per level (you start with 20)

The hearts increase your lives. Every time a dino gets past your defence units you lose one life.

Slots increase the number of units you can take into battle with you in each round.

The extra units (if unlocked) will allow you to create newer more powerful/defensive versions of those you have.


You seriously need to upgrade to reach higher levels and get the most out of the game. How you upgrade though is entirely up to you...
Title: Re: Dino Defense
Post by: kanonet on 2012-Apr-17
Very nice game, played the Windows version. Played all lvls until i got 3 stars everywhere, hard game but repeating lvls does reduce fun, so its really good. Darn i hate velociraptors, i lost so many games cuz of them.^^

Did you create a 2nd world yet? Cuz i played all lvls in 1st one and cant enter the 2nd

minor bugs:
-Velociraptor has no attack value displayed in dinosaur list.
-3 new soldiers in upgrade menus doesnt look the same when they are sold out.
-click on exit get ignored sometimes (playes sound but doesnt end program).
Title: Re: Dino Defense
Post by: erico on 2012-Apr-17
Great! a hard action game is just for me!
Some little quibles here and there but just great.

I see a few glitches on the gfx part, posting a pic, like the usual lines around the sprites, sometimes they don´t appear, like on the menu and so.
Strange, I saw the same stuff on Asobitech´s games, seems like no one notices it, may be my gfx board?

Exit button goes the same way Kanonet reported.
Upgrading icon should not be a screwdriver, looks more like a config button but ok.

The thing is tough, like I know Ian´s games on the puzzle´s side, well done, it seems a mix between action and puzzle as some levels requires fast thinking and some can only be beaten by a few ways.

Should Tetris not be invented I guess it would have come up by your hands :good:

Sound/music is great.

After you win a match music freezes and things proceed, there should be a little while before that IMHO.

Preview dosen´t actually tell you where things are coming but who, but that I guess as a feature.

Will get my vote, choose the pearl pandora would you?

ps:forgot the img

edit again: jpg is a little dirty, I mean the lines that square the cavemans (only seen at the top) as well as the top vulcano, which in not antialiased as the rest, the top vulcano displays a full square. Since I´m editing there, make those clouds move will you? hehe, no need, quite a frenetic game already.




[attachment deleted by admin]
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-17
Cheers Kanonet (and erico, just as I was posting), I'll have a look at those issues. I've had a sticky exit too :)

World 2 is being worked on right now, with some new dinos and landscapes to keep you on your toes.

And yes, the raptors are vicious aren't they. They were even tougher initially. There are methods to deal with them though...

erico, I've not seen any graphical glitches (and nobody reported them, but that doesn;t mean they're not there).

Sound is one issue i never really had much time to do anything with - it's still lacking a victory tune/sound and i want all the dinos to have death rattles (sounds they make when they die).

The "screwdriver" is actually a wrench and is (like most menu buttons) a temporary image - I just didn't have time to improve the graphics.

As for only a few ways to win - afraid not. I've beaten each and every level in a multitude of ways. I've even completed it with just the basic spearsman, archer and rock - nothing else. That was one tough game, I can tell you. And yes, I suppose it is kind of puzzle-like, but it wasn't designed to be a puzzle game.

The Preview shows you what dinos to expect - it's upto you to choose a team to deal with them. It's not designed to tell you how many of each, or when/where they'll come from.

Cheers chaps :)
Title: Re: Dino Defense
Post by: erico on 2012-Apr-17
Quote from: Ian Price on 2012-Apr-17
erico, I've not seen any graphical glitches (and nobody reported them, but that doesn;t mean they're not there).

As for only a few ways to win - afraid not. I've beaten each and every level in a multitude of ways. I've even completed it with just the basic spearsman, archer and rock - nothing else.

As for the first paragraph check my last post,  forgot the img and also edited things a little. :S

As for the second, I agree there may be more, I just gave a few tries.
Will beat this for sure, be aware! :P

As for you being that good, my one fight game I could beat everyone with a single move, even my own AI and I made it hard, my friends all got pissed on that, but heck, since I was the one making it I had to play it about a million times right? So I guess the game´s dev does not count on the ´hard´part of it :whistle:
Title: Re: Dino Defense
Post by: erico on 2012-Apr-17
Quote from: Ian Price on 2012-Apr-17
The "screwdriver" is actually a wrench and is (like most menu buttons) a temporary image - I just didn't have time to improve the graphics.

Ok, maybe a written UP GRADE word ca do?
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-17
Indeed. Once you know the game inside out the challenge completely evaporates. Devs are not good judges of the challenge in their games. But there are certain tactics that can be passed on to make things much easier...

I'm considering alternatives for all icons. I'd rather not use words though. I have some thoughts...

[EDIT] I've seen your image now. I've seen that on GP2X games - I think it's an OpenGL issue. Are your drivers upto date? And the volcano smoke should also be pure grey with a dark grey outline as can be seen in the image below.

BTW I want the clouds to move, but I don't know how much I'm pushing the Pandora already. There's so much more I want to add, but can't due to not being able to test the game.

[attachment deleted by admin]
Title: Re: Dino Defense
Post by: erico on 2012-Apr-17
Quote from: Ian Price on 2012-Apr-17
Indeed. Once you know the game inside out the challenge completely evaporates. Devs are not good judges of the challenge in their games. But there are certain tactics that can be passed on to make things much easier...

Agree, once or twice I have seen people come up with unexpected things though...

Quote from: Ian Price on 2012-Apr-17
I'm considering alternatives for all icons. I'd rather not use words though. I have some thoughts...

[EDIT] I've seen your image now. I've seen that on GP2X games - I think it's an OpenGL issue. Are your drivers upto date? And the volcano smoke should also be pure grey with a dark grey outline as can be seen in the image below.

Yep words are bad for icons, I send you a quick img for inspirations :x.

As for updated drives, they are not that old, but must be one level below the latest.
It is just that whenever I upgrade drives on the gfx, things take a 50% hit performance on my productivity tools, so I avoid them at all cost.
Those guys sure want to push the newer hardware...

I had issues like that on my own game and then fixed it, problem was related to gfx and how I handled them in GLB, but will upgrade to figure it out and let you know about.

edit:forgot the image...must be lack of coffee

[attachment deleted by admin]
Title: Re: Dino Defense
Post by: erico on 2012-Apr-17
Quote from: Ian Price on 2012-Apr-17
BTW I want the clouds to move, but I don't know how much I'm pushing the Pandora already. There's so much more I want to add, but can't due to not being able to test the game.

You should be ok, my game has a few front huge layers and 3 moving clouds on the bkg and it goes fine on my caanoo, so a pandora should be able to handle that. :good:
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-17
From what Minion has been saying, the Pandora actually performs worse than Wiz and Caanoo in some areas... :(
Title: Re: Dino Defense
Post by: erico on 2012-Apr-17
well, the resolution is higher then the 320x240(so lovely <3) but in my case, I´m drawing everything every cycle, no optimization at all, just brute force to check when it will hit a limit, and it hasen´t hit it yet and by the way it seems, it wont even if I push a few full screen stencil.

But better be safe on the comp :good:
When you get the EARL pandora you should let us know about the limits :good:
Title: Re: Dino Defense
Post by: Ian Price on 2012-Apr-17
I don't think (or expect) I'll be getting any Pandora, let alone the pearl one.
Title: Re: Dino Defense
Post by: erico on 2012-May-01
Hi Ian, about the screenshot I posted some time ago...
Gfx driver is the latest available. I have a GTX 460 Nvidea.

Tried the version from your site, same glitches.
Could it be they are already dumping support for this board? oh man...

edit typo: gfx board name
Title: Re: Dino Defense
Post by: Ian Price on 2012-May-01
I really don't know. I'm not doing anything special with the graphics - there's no scaling or PolyVectors involved. No fancy tricks and all background tile images are 64x64 (conforming to the 2^ sizing).

Can you create a four or five 64x64 tiles in one anim and try this code -

Code (glbasic) Select

LOADANIM "tiles.png",1,64,64

WHILE TRUE

FOR y=0 to 5
FOR x=0 to 12
  DRAWANIM 1,RND(3),x*64,y*64
NEXT 
NEXT

SHOWSCREEN

WEND


Really, that's pretty much all I'm doing with the tiles.
Title: Re: Dino Defense
Post by: erico on 2012-May-01
Done, same results.
Here goes my tiles.png plus a screenie of the running prog.

Strange it does not happen on my games, and I´m drawing anim too, not even polivectors.
I wonder if it has something to do with the gfx config as I tell it to run full on all applications (like overide app settings).

edit: it looks to me as if antialiase is picking out on the borders against the black background and thus creating thin grey lines around aprites.

edit2: an alpha mode issue maybe?

[attachment deleted by admin]
Title: Re: Dino Defense
Post by: Ian Price on 2012-May-01
Maybe you/we need to use SMOOTHSHADING FALSE prior to drawing the anims?

Give that a shot and see if that cures the problem.
Title: Re: Dino Defense
Post by: erico on 2012-May-01
Perfect now, problem solved.

Me and Mike had similar issues on Hit the Deck.
My games all run on smoothshading false too, so that is the reason I never saw such.

But as I understand, you don´t get the garbage while using smoothshading true but I do, I´m really thinking it could be the way my gfx card in configured.

So just to make sure you could send me a dino defense updated with a few 30+ worlds so I could give a try and check these issues? =D =D :-[
Title: Re: Dino Defense
Post by: Slydog on 2012-May-01
I wonder if you surround each number with one or two transparent pixels?
I see the grey line only happens to the left of the '1' number, and I would suspect it would happen to the right of the '5' number if they were drawn.
Funny how it doesn't happen above and below each number.

I had the same problems in 3D mode on my textures, but I could easily adjust the uv coordinates to fix it.
The 'SMOOTHSHADING FALSE' just forces GLBasic to sample a pixel colour exactly, and not average them with surrounding neighbors right?  When at the edge of the graphics file, artifacts appear.

Or upgrade your code to use POLYVECTORs and manually adjust inwards one pixel to stay away from the edge.
Title: Re: Dino Defense
Post by: erico on 2012-May-02
If I understood the proposal, then it won´t have a white background and we will see the black background through the alpha couple pixels.
Page 4 I posted an image on how the game currently looks on my machine, it is a bit low jpg but I´m sure the artifact is all around, sometimes not for the full lenght of the borders of the sprite but it is there.

So I suspect this artifact has to do with antialiase against the background itself, which in the current numbers case, is black.

Did I understand correctly?

Maybe for a no-alpha tiled situation we just have to go on smooth false, and use true on sprites that needs it (resize, rotate).
If the tiled background also needs it, maybe copy the whole screen to another and then apply the effect on the full image?

edit: my guess is that smooth shading true is only better when displaying sprites or titles with proper alpha(mask) otherwise it will always smooth out the borders of the tile, end even those alpha sprites should not touch the border (1 or 2 pixels offset). The current test has no alpha, just a pure block.
Title: Re: Dino Defense
Post by: Ian Price on 2012-May-02
I have now set up a web-page for DinoDefense - all current downloads for each platform will be posted there (currently for Pandora and Windows pc). I do plan to support Caanoo and Wiz if there is enough encouragement...

http://www.iprice.remakes.org/DinoDefense/dino_index.html
Title: Re: Dino Defense
Post by: aroldo on 2012-May-02
Very Nice!

Good luck!