Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate

Primary tabs

  • View
  • Collections
  • Comments(active tab)
  • Followers
  • Friends
  • Favorites
Is there a large demand for a
Saturday, April 4, 2015 - 12:17

Is there a large demand for a license like this? What feature does this license provide that other established licenses fail to satisfy?

Well Phoey! My project is
Thursday, April 2, 2015 - 00:44

Well Phoey! My project is incompatible with the GPL. I guess I'll be representing my visuals in the non-visible color spectrum. You guys can all see gamma rays, right?

I am absolutely using this
Tuesday, March 31, 2015 - 23:51

I am absolutely using this package in my game!

Oh, I plan to do the -BY
Wednesday, March 25, 2015 - 01:10

Oh, I plan to do the -BY thing anyway, even with CC0 stuff. I wasn't able to use it before now because the licensing on the original posting here seemed poorly researched. GPL and CC-BY-SA? It didn't seem to match what 7soul actually wanted, so I was skeptical. Besides, there was indication on 7Soul's DA page hinting at -NC dirivative works mixed in. I loved the icons, but seemed like a risk.

Now, however, it is right from the artist's mouth which license should be used. Furthermore, 7Soul removed any icons from the pack that might be derived from -NC works. WOOHOO!

EDIT: @capbros: Thanks for that shameless plug. Those are some pretty great art packs. And very affordable, too.

Fantastic! Thanks!
Tuesday, March 24, 2015 - 13:58

Fantastic! Thanks!

Woah. 7Soul1 released these
Tuesday, March 24, 2015 - 13:30

Woah. 7Soul1 released these as CC0 now?

Sorry, Tozan. I suspected
Friday, January 16, 2015 - 00:43

Sorry, Tozan. I suspected that would happen but thought you were saying you already had a way of dealing with it:

"I also don't understand how separately threaded executable will be able to update a value in the batch without also interrupting the code flow or requiring the batch to wait until the executable is done."

I don't know how bg.exe works and I don't know how to get batch files to hook in executable functions. Try using this as your command to start the timer:

start "" "c:\your_game_folder\or_whatever\GlobalTimer.exe" /s /t:3000 /o:done

Let me know if it still holds up the batch.

If you decide to take that
Monday, January 12, 2015 - 02:32

If you decide to take that plunge, I recommend C++. Not because it is easy, but because- in my opinion- it is most useful across the board in all categories. Other languages may be more useful for specific things, but every one of those languages will be easier to learn BECAUSE you know C++.

Regardless, deciding to change your code platform is a major decision. I think a game writtin in batch is pretty interesting just for the proof-of-concept. As for answering your original question, give this a shot and let me know if it works as expected: (download expired)

(EDIT: Try "GlobalTimer.exe /?" for some breif instructions.)

oh interesting. Are you able
Friday, January 9, 2015 - 10:39

oh interesting. Are you able to perform clock calculations? Like, just before the code that performs whatever moves the player is executing, it checks the current time against a potion timestamp.

 

When player drinks a potion that is supposed to last... 30 seconds, for example... it records the time when the potion should expire.

rem potion lasts for 30 * 100 centiseconds
Set POTIONDURATION = 3000

Set ENDTIME = %TIME%
rem convert timestamp to centiseconds
set /A ENDTIME=(1%ENDTIME:~0,2%-100)*360000 + (1%ENDTIME:~3,2%-100)*6000 + (1%ENDTIME:~6,2%-100)*100 + (1%ENDTIME:~9,2%-100) + %POTIONDURATION%

Then, just before the game executes the code that performs player action or anything that might be affected by the potion, you do a check to see if the potion is beyond expired

set NOW=%TIME%
rem convert timestamp to centiseconds
set NOW = (1%NOW :~0,2%-100)*360000 + (1%NOW :~3,2%-100)*6000 + (1%NOW :~6,2%-100)*100 + (1%NOW :~9,2%-100)
if %NOW% GTR %ENDTIME% do something to cancel the potion effect.

I don't know if this code will run. I haven't tested it.

I also don't understand how separately threaded executable will be able to update a value in the batch without also interrupting the code flow or requiring the batch to wait until the executable is done... which would defeat the purpose. Do you have a way for a separately executed program to inject values into the batch WHILE the batch is running?

 

 

 

This seems like something
Friday, January 9, 2015 - 03:08

This seems like something that should be incorporated into the game itself instead of a separate executable. If you're doing top-down programming, a timer function can be injected into the main loop as long as there is nothing that truely HALTS the program's flow (ie. remove Pause, Wait, or Sleep commands and replace with alternatives that allow code to continue executing even if the game itself doesn't progress)

That is a lot of jargon, so if you need me to tone down the buzzwords, let me know and I can explain better.

imbedded timer functions aside, I could probably make a simple console executable that accepts a time parameter (in milliseconds) and a file path (whatever file you want it to execute when the time is up). would that do?

What language are you using? What operating system?

Pages

  • « first
  • ‹ previous
  • …
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409
  • …
  • next ›
  • last »