The Game Creators
The Game Creators Home Click to Login
  Hot: Official TGC CompetitionLee is tweeting!July NewsletterSmart PackerBox2DWeb Hosting SurveyDGS BonanzaFPS Creator Bonanza;
The Game Creators
20 Liners / [DBPRO]Tank trails

Go to the first page of this board Return to the Forum Menu Post Message
9 Messages - Page   of 1   
Bookmark and Share Search the Forum

Author Message
chafari

User


Joined: Tue May 2nd 2006
Location: canary islands
Posted: 24th Dec 2009 07:16     Edited: 25th Dec 2009 16:07     | link | toggle

Long time this thread has been sleeping.I made a poor tank with no media long time ago...now it has no textures and no firing to fit in 20 lines code.

I hope you like it

Merry Christams you all !!

sorry....the code is in post down below

learning every day
Back to top
Report this message as abusive
chafari

User


Joined: Tue May 2nd 2006
Location: canary islands
Posted: 25th Dec 2009 05:05           | link | toggle

Sorry...I donīt know how to edit.




+ Code Snippet

learning every day
Back to top
Report this message as abusive
Veron

User


Joined: Wed Nov 22nd 2006
Location: NSW, Australia
Posted: 27th Dec 2009 00:10           | link | toggle

You don't know how to edit but you edited the post above? This made my day.

Back to top
Veron Games
Report this message as abusive
Mew151

User


Joined: Sun Jun 1st 2008
Location: Glitch city
Posted: 27th Dec 2009 23:24           | link | toggle

that looks pretty cool.

[href=http://pikasite.mew151.net/]http://www.mew151.net/pikasite/The%20Subject%20logo.png[/href
Back to top
Report this message as abusive
Google Ad
Back to top
 
chafari

User


Joined: Tue May 2nd 2006
Location: canary islands
Posted: 28th Dec 2009 04:45           | link | toggle

Hallo friends... I,m glad you like this litle code.

@Veron. Ha ha...I felt myself stupid... I couldnīt find the way to re-edit my post in order to mend the mess I did trying to send an image and the code...finally I found this "Edit post".

Here we have the an-compressed code with some english coments to help somehow other friends.

+ Code Snippet


cheers.

learning every day
Back to top
Report this message as abusive
jeffhuys

User


Joined: Wed May 24th 2006
Location: No cheesy line here.
Posted: 2nd Jan 2010 17:52     Edited: 2nd Jan 2010 17:59     | link | toggle

Very cool!


You're the 'th to view this signature!
Back to top
Download: TGC.jpg Size: 58518 bytes  View Image: TGC.jpg Size: 58518 bytesReport this message as abusive
chafari

User


Joined: Tue May 2nd 2006
Location: canary islands
Posted: 4th Jan 2010 04:49           | link | toggle

Ha ha.....It looks great !!... I suppose you have been flying with the whole tank

cheers

learning every day
Back to top
Report this message as abusive
Phaelax

User


Joined: Wed Apr 16th 2003
Location: Ohio
Posted: 4th Jan 2010 14:33           | link | toggle

Quote: "ou don't know how to edit but you edited the post above? This made my day"
But look at the time stamps, the edit came way after his second post.


You should increase the transparency a little more I think on the trails. And the trails should fade out after so long, otherwise the system would bog down pretty quickly with so many objects.


> SELECT * FROM users WHERE clue > 0
> 0 rows returned
Back to top
Zimnox Find user on ICQ Send AIM user a message
Report this message as abusive
chafari

User


Joined: Tue May 2nd 2006
Location: canary islands
Posted: 5th Jan 2010 04:54     Edited: 5th Jan 2010 16:08     | link | toggle

@Phaelax.

Yeahhh, you are right !! about transparency and fading trails, but it needs more code with the command " IF ", and if you put several "IF " in the same line, some commands stop working correctly, so there wasnīt room for much more code.

If it where a 50 lines challenge, I shouldnīt get rid of firing, and the tank model should be nicer as well.


+ Code Snippet

The trail is created with one by one piece of trail, and when it is biger than 100, the first piece of trail is deleted, so there are not ever 101 pieces of trail on the ground.Even if we fade some of them and finally delete this trails, the engine of dark basic is working even more than if we delete them.

We could reduce the quantity of pieces that a going to form the trail in order not to slow down the system.




learning every day
Back to top
Download: ;).jpg Size: 46193 bytes  View Image: ;).jpg Size: 46193 bytesReport this message as abusive

Go to the first page of this board Return to the Forum Menu Post Message
9 Messages - Page   of 1   
Search the Forum

Sorry, but it has been so long since anyone replied to this Thread that it has been automatically locked.
You may read it but not reply.

Forum Search

Enter a word or phrase to search our Forum for:

Thread Subject Search
Search Phrase:
Search Scope: Entire forum
Just this board
 
Google Forum Search
Search Phrase:
 
Apollo v2.02


Dark Game Studio
Privacy Policy AUP Top of Page