Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Mini Competition! TGC Prizes!

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2005 14:18 Edited at: 25th Sep 2005 22:36
*********************************************
it looks like you can't use this code from the default editor.
Replace the tutorial source code (code example 2) with the following code which does work.
The code is identical. The comments have been removed, and this fixes the problem!




This competition runs alongside the September Newsletter Tutorial on Memblocks. The closing date is midnight, Friday October 14th 2005.

The Game Creators have kindly donated two prizes for the winners.

The Competition details and prizes can be found in the attached download. In contrast to regular competitions, no coding is necessary, but it is still in the vein of game making. Confused? Download the details and all will be revealed.

*** Competition Instructions ***

* The download is a DB Pro application, illustrating what is required of entrants.

Attachments

Login to view attachments
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2005 14:21 Edited at: 20th Sep 2005 14:23
The download above is in rar format, 1.5 Megabytes. You can get it in zip format here, 2.5 Megabytes

*** Competition Details, Zip format ***

Attachments

Login to view attachments
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2005 14:31
You can post your entries in this thread. To give you a head start, the mask used in the Competition Details program is attached. Take a look and you will very quickly understand how the effect works.

Attachments

Login to view attachments
spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 20th Sep 2005 15:16 Edited at: 20th Sep 2005 15:20
Suggest you fix your rar file. It contains a file but with wrong extension. Rename it from .gif to .exe and it works. You fool!

As newsletter has not arrived yet, is there any way your little exe will load a mask if in same directory, so we can test it, or do we just be patient and wait for newsletter!

Boo!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2005 15:52 Edited at: 20th Sep 2005 15:53
Quote: "Suggest you fix your rar file"

Ho Hum...here's the fixed version! I changed it to email it past an exe-hungry spam catching mail server.

Quote: "...or do we just be patient and wait for newsletter!"

I'm afraid so! Otherwise, you wouldn't need to read the newsletter, or my tutorial

Attachments

Login to view attachments
Nicholas Thompson
19
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 20th Sep 2005 16:03
Whats the ETA of the newsletter?

My Website:
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 20th Sep 2005 16:08
lol, nice music

"We make the worst games in the universe."

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 20th Sep 2005 16:18
what is the rules besides of screen size?
can some media b included or something?
or its a work only wirh DBP commands?


BlueLight Online, improved version of MorningOnline
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2005 17:19 Edited at: 20th Sep 2005 17:20
Quote: "Whats the ETA of the newsletter?"

That is up to Agent Davey

Quote: "what is the rules besides of screen size? can some media b included or something?
"


The aim is simply to make an 800 x 600 mask, using a graphics program. The tutorial will provide all of the source code you need.

The mask used in the program you downloaded looks like this:



Your mission is to make your own mask to create a different effect.

Attachments

Login to view attachments
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 20th Sep 2005 17:22
and how do i have to give it to u? exe or source code?


BlueLight Online, improved version of MorningOnline
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th Sep 2005 17:28
Does the code have to act exactly the same way, or can we do a few modifications? I'd like to add blending if I can get it to be fast enough.

WarBasic Scripting engine for DarkBasicPro
DC emulator code size: 14.3MB, 553,214 lines
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 20th Sep 2005 17:35
Count me in Please can you tell me what the prize is dbc? gamespace?

New game about to be unleashed steal un theif
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th Sep 2005 17:40
FPSCreator or whatever enhancement pack (DBP plugin) made by TGC.

WarBasic Scripting engine for DarkBasicPro
DC emulator code size: 14.3MB, 553,214 lines
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 20th Sep 2005 17:41
wow fpsc!!!

New game about to be unleashed steal un theif
Me!
18
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 20th Sep 2005 17:42
@Darkbasic MAD: why don`t you download the exe and run it?, like the man said, you need it anyway to enter, the program tells you what the prizes are when you run it.



the average IQ is 100...but the people that took the test where trying to look smart. most people don`t go over 50.
Area 51?, I`m more intrested in what they have in areas 1 to 50
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 20th Sep 2005 17:44
cool it thought it was a program that told you what the prizes are and that's it =

New game about to be unleashed steal un theif
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2005 17:51
Quote: "and how do i have to give it to u? exe or source code?"


You simply need to post your image file in this thread. The tutorial source code will allow everybody to see your transition mask in action. In fact, I'll create a slightly modified version after the newsletter that will make it easier to run any mask.

If you want to post source code or a full project that shows off your work in a better way, then that would be good. BUT it must use the same transition function, that cannot be altered. You must also post the code, not just an exe, to show it is using the transition function. And in the spirit of this competition, any source posted will be free to use by anyone.

Quote: "Does the code have to act exactly the same way, or can we do a few modifications? I'd like to add blending if I can get it to be fast enough"


The transition must be the same for the competition. But if you want to improve the code once you have downloaded it from the newsletter, it would be welcomed in this thread as an extra resource. The code can be improved, as you will see. Because of the speed it is capable of, there is plenty of room for additional effects and calculations every cycle

Hawkeye
20
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 20th Sep 2005 18:13
Quote: " FPSCreator or whatever enhancement pack (DBP plugin) made by TGC."

Meh. No way I want either of those, would much rather have one of the dbp plugins instead... but... I may try to enter anyways.

Nicholas Thompson
19
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 20th Sep 2005 18:40
@Batvink - it looks like the transition is based on a threshold, like you start counting up and the mask is only drawn if the greyscale value is above the threshold counter at that moment.

Would it be possibel for this to be done more like some kind of multiplier of the alpha or something to make it a more smooth transition?

My Website:
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2005 19:04
Quote: "Would it be possibel for this to be done more like some kind of multiplier of the alpha or something to make it a more smooth transition?"


Absolutely. By my calculations, you could have 4 alpha "waves" with no performance degrade. But the approach would be different. Wait until the newsletter, and see what you can do with it.

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 20th Sep 2005 20:38
wait wait, so i can make ANY transition animation i want, only with the dbp commands, do i get it right?
if so, then count me in.. i wanna try to win the "enhancement pack" (dont care about the FPS creator actualy.. )


BlueLight Online, improved version of MorningOnline
Nicholas Thompson
19
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 20th Sep 2005 21:03
I'm gonna wait for the newsletter

My Website:
Ric
19
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 20th Sep 2005 22:30
Cool idea to make the newsletter tutorials interactive! And prizes too - this is great! Just one question - how many entries are we allowed each - just the one ...... or hundreds?

Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 20th Sep 2005 22:50
I'm dead

New game about to be unleashed steal un theif
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2005 23:37
Glad you like the idea, Ric. I thought graphical "gimmicks" would be your thing

Quote: "how many entries are we allowed each - just the one ...... or hundreds?"


Multiple entries allowed. I would try and make them different though, no mass-production of slightly different designs.

If there are several similar entries from different people, I guess it will have to be on a first-come, first-served basis.


*** Please Note! You are designing the Mask (the 800 x 600 greyscale image), NOT the code!
The code will be provided in the tutorial. It sounds like some people are a little confused over this point.


David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 21st Sep 2005 00:12
App freezes here on the loading screen?

"A book. If u know something why cant u make a kool game or prog.
come on now. A book. I hate books. book is stupid. I know that I need codes but I dont know the codes"
Ric
19
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 21st Sep 2005 01:19
Quote: "App freezes here on the loading screen?"


Including the music?

spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 21st Sep 2005 01:32
I found a way to test masks by modifying your exe...

So, here is my first compo entry in a rar file 325 Kb

Probably jumping the gun a bit, but what the hell!

Boo!

Attachments

Login to view attachments
WarGoat
19
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 21st Sep 2005 03:09
Im in too. I want to try myself and to win something...

Windows XP,pentium IIII, 1,9 MGZ, 256 mb memory, 128 mb video card ATI Radeon 9200 se s80 'sett squadron back on the assault'
Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 21st Sep 2005 04:47
Rats, I can't run the EXE because I'm on the old WinME max 24-bit display machine... uggh.

It's helpful when people at least add support for 16-bit display, even if 32-bit is also supported.

And yes, modifying the EXE to use a diff image shouldn't be hard. Search in notepad (rename EXE to TXT) tfor one of the words the p-rogram shows you, then look around for an image filename .

-Xol


DBpro IonRay IDE: Demo 0.1.0.0 available!
Torrey
19
Years of Service
User Offline
Joined: 20th Aug 2004
Location: New Jersey
Posted: 21st Sep 2005 06:28
Nicholas Thompson
19
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 21st Sep 2005 11:13
Those are NICE!!

Ric, just out of interest - why do we have to wait? Why cant you release an EXE for this now? Surely the longer we get, the more/better the entries will be?! Or is this Agent Davey's ruling?

My Website:
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 21st Sep 2005 13:27 Edited at: 21st Sep 2005 13:29
Quote: "Why cant you release an EXE for this now?"


Don't blame Agent Davey

The competition is based on the memblock tutorial in the newsletter. You'll get the code, the tutorial and a bucket full of inspiration.

Already having the code to test them myself, I can tell you that Spooky and Torrey have done a nice job! Have a look at their contributions, they work really well. In fact, my first reaction was... "Woooahhhhhh!"

Nicholas Thompson
19
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 21st Sep 2005 13:47
I cant modify the EXE :-(

My Website:
Torrey
19
Years of Service
User Offline
Joined: 20th Aug 2004
Location: New Jersey
Posted: 21st Sep 2005 14:29 Edited at: 21st Sep 2005 16:26
Quote: "I cant modify the EXE :-("


Use one of the_winch's tools for editing DBP .exe's.

http://winch.pinkbile.com/

Quote: "Surely the longer we get, the more/better the entries will be?! "


Surprisingly, getting a decent effect isn't as easy as it looks. I went into this thinking I could create some really neat stuff very fast, but after testing the masks created it didn't always work out.

The best audio plugin for DarkBASIC Pro!
Plays Ogg Vorbis,MP3,FLAC,uncompressed WAV,AIFF,MOD,S3M,XM,and IT files.
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 21st Sep 2005 19:55
Quote: "I cant modify the EXE :-("


Make your own screen transition code then, like I did . I'm looking forward to seeing what techniques Batvink used in his, and how it compares to my first attempt . However, I'm crap at making the transition bitmaps.

Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 21st Sep 2005 22:19 Edited at: 21st Sep 2005 22:23
Hehe, check out this...

Attachments

Login to view attachments
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 22nd Sep 2005 00:02
Another fantastic one That one hurts my eyes

It's going to be hard to judge this compo, and it hasn't actually got started yet!

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 22nd Sep 2005 03:41
Why are these instructions compiled into an exe? Why are you the one who has them? Why aren't they posted on TGC's site?


Deadly Night Assassins
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 22nd Sep 2005 10:54
Quote: "Why are these instructions compiled into an exe?"

Because it demonstrates what you need to do.

Quote: "Why are you the one who has them?"

Because I devised the competition, and made the program

Quote: "Why aren't they posted on TGC's site?"

Because it's only a small competition, TGC very kindly donated the prizes because it's linked to the newsletter. You will see it mentioned in the Newsletter if you are concerned abiout the authenticity of the exe and the prizes.

If you don't want to download the program, here's a summary of what you need to do...

Quote: "A Transition Mask is an 800 x 600 greyscale image.
When overlaid on your game screen, it will reveal
the next image according to the pattern on the mask.

In simple terms, the black pixels will disappear first,
followed by each level of grey, finally through to white.

+++++++++++++++++

...you must create the most inspiring Transition Mask. You will
find examples with the September Tutorial. You will
also find the essential source code required to run
it, along with details on how this code was designed.

+++++++++++++++++

1. Your design must be 800 x 600, greyscale.

2. It must be a generic design. That is, it cannot be
specific to a project, it must be suitable for any
project or game.

3. All submitted masks will be freely available for all
to use.

4. You may include additional images to demonstrate your
transition to it's best effect."


Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 23rd Sep 2005 22:08
this still on?

Gtas back and bigger and better than before
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 23rd Sep 2005 22:40
Yup, just hang on for the newsletter.

WarGoat
19
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 23rd Sep 2005 23:57
Does the code in the newsetler need DBPro 5.8? if so, i don't have it.

Windows XP,pentium IIII, 1,9 MGZ, 256 mb memory, 128 mb video card ATI Radeon 9200 se s80 'sett squadron back on the assault'
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th Sep 2005 00:30
No it doesn't. Image memblocks haven't changed in 5.8.

Scilynt
21
Years of Service
User Offline
Joined: 13th Nov 2002
Location: .-#-.
Posted: 24th Sep 2005 02:18
Here's a my quick entry, two masks, one a fairly generic TV style screen wipe, and the other more game-specific-generic.

Attachments

Login to view attachments
JoelJ
20
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 24th Sep 2005 07:32 Edited at: 24th Sep 2005 07:33
Alrighty, I made one


Attachments

Login to view attachments
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th Sep 2005 18:25
Quote: ""Runtime Error 5105 - Memblock position outside range at line 159""


I would imagine this has been caused by altering the screen resolution or depth. The tutorial has been made simple by running at 800 * 600, 32 bit.

If that doesn't solve it, post your graphics card details, it may be something to do with that.

I will post the competition application source code shortly, it's on another PC.

Quote: "Why don't you just post the contest here for us who cant run your program "


It's further up this thread (22 September)

Joe Cooning
21
Years of Service
User Offline
Joined: 29th Mar 2003
Location: United States
Posted: 24th Sep 2005 19:12 Edited at: 24th Sep 2005 19:46
edit: sorry for the image post earlier, for some reason I stopped getting it, but now it thinks that memblock doesn't exist (the one called memblock). I put a check for it after the makememblock command, but it returns 0.

Louiz ofRohr
19
Years of Service
User Offline
Joined: 11th Nov 2004
Location:
Posted: 24th Sep 2005 21:14 Edited at: 24th Sep 2005 23:21
hmmm...
let me try..

This is my "Crawling" mask

The whole effect is in the attachment:
2 images + mask + source code (edited tutorial 2)

hope you like it.. ^^

.edit.
please.. compile the code in the attachment..
else you are not gonna see the effect I want you to see
I didn't change the memblock part..
.edit.

The worst foe lies within the self..

Attachments

Login to view attachments
Louiz ofRohr
19
Years of Service
User Offline
Joined: 11th Nov 2004
Location:
Posted: 24th Sep 2005 22:12 Edited at: 24th Sep 2005 23:09
sorry for the double post..
but you guys could retry the same code I posted above in the attachment with
this new image.. Inverted effect

.edit.
but my only entry is the post above..
posted this one just for you to test ^^
.edit.

The worst foe lies within the self..

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-26 10:32:54
Your offset time is: 2024-04-26 10:32:54