Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Pages: [1] 2 3 ... 10
 1 
 on: Today at 02:43:58 AM 
Started by Eric Matyas - Last post by Eric Matyas
Hi Everyone,

I've created and uploaded some brand new music tracks to share with the community:

"PIXEL BALLOONS"
"PIXEL BALLOONS_v1"
"PIXEL BALLOONS_v2"

You'll find them here:
https://soundimage.org/puzzle-music-8/

As always, they're 100% free to use with attribution, just like my thousands of other music tracks, sounds and images.

OTHER HELPFUL STUFF:

Higher-Quality Ogg Music Packs are here:
https://soundimage.org/ogg-game-music-mega-pack/
https://soundimage.org/ogg-music-packs-2/

For Custom Music Inquiries:
https://soundimage.org/custom-work/

Please stay safe...and keep being creative!  :-)

 2 
 on: March 15, 2025, 04:11:52 PM 
Started by Eric Matyas - Last post by Eric Matyas
Hi Everyone,

I've created some new one-of-a-kind fantasy wood textures to share with the community. You'll find them here:

TXR - WOOD - FANTASY
https://soundimage.org/txr-wood-fantasy/

OGG MUSIC PACKS

If you happen to be using my music in your projects, please don't forget to check out my higher-quality Ogg Music Packs. These packs enable you to download all of my music tracks at once for various genres..a real time-saver. You can even download all of my game music at once with my Ogg Music Mega Pack.

You'll find them here:

https://soundimage.org/ogg-music-packs-2/
https://soundimage.org/ogg-game-music-mega-pack/

As always, enjoy, stay safe and keep being creative.  :-)

 3 
 on: March 11, 2025, 10:03:23 AM 
Started by Eric Matyas - Last post by Eric Matyas
Another super-busy week, but I did  manage to create a new free music track (with variations) for the community:

"ARCADE SPACE QUEST "
https://soundimage.org/sci-fi-14/

This track has 5 additional variations which might be useful for various levels of a game...or perhaps something else entirely.  Fun stuff!

OGG MUSIC MEGA PACK (and GENRE PACKS)

In case you don't know, you can now download all of my game music to date as a single Mega Pack. It's a huge time-saver from downloading my tracks individually. Plus, the Ogg versions tend to loop better in game engines.  And they sound richer...almost like my original WAV recordings but much smaller in file size...perfect for games.

You can check them out here:
https://soundimage.org/ogg-game-music-mega-pack/
https://soundimage.org/ogg-music-packs-2/

As always, please stay safe...and keep being creative.  :-)

 4 
 on: March 06, 2025, 02:07:17 AM 
Started by MARTIN151 - Last post by Mot
As an example, I implemented your idea in (a copy of) the wme demo project (also known as wme_demo.wpr).

I'm not sure if you want to add the functionality of displaying the inventory when pressing SPACE (while keeping the former method of navigating to the top of the screen) or you want to replace one by the other. If you want to keep both, follow Walkthrough #1. If you want to replace one by the other, Walkthrough #2 (down below this post).

Walkthrough 1

1. I open wme_demo.wpr
2. In the project tree pannel, I locate the folder named scripts, and open the file base.inc
3. This file is loaded on SciTE Script Editor.
4. I add a global variable to keep track of whether the SPACE key has been pressed to show/hide the inventory. I'll name it spaceSwitch.

Code: WME Script
  1. #include "scripts\const.inc"
  2.  
  3. global Scene;
  4. global Keyboard;
  5. global actor;
  6.  
  7. // this var keeps track whether the user has pressed space to show or hide the inventory
  8.  global spaceSwitch;

5. In the project tree pannel, I locate the folder named scripts, and open the file game.script
6. I give an initial value to the var spaceSwitch at the start of the code - false since the space key has not been pressed yet.


Code: WME Script
  1. #include "scripts\base.inc"
  2. #include "scripts\keys.inc"
  3.  
  4. // store some of the game's attributes in global variables for convenience
  5.  
  6. // this var keeps track whether the user has pressed space to show or hide the inventory
  7.  spaceSwitch = false;

7. I go to the bottom of the code and locate the portion that tells the engine what to do when the player presses a key on the keyboard. I add a new portion of code that is triggered when the user presses the SPACE key.

This portion makes sure that the main character is not currently having a dialogue with other characters, and that the Win menu is not visible, before showing the inventory, as there's no use for the inventory to show up when those are visible. In the same way, we tell the engine to hide the inventory if the main character starts a dialogue or when the game stops being interactive.

At the end, I add a "switch" that is changed from false to true, and from true to false, each time the user presses the SPACE key.


Code: WME Script
  1. ////////////////////////////////////////////////////////////////////////////////
  2. on "Keypress"
  3. {
  4.   // on Esc or F1 key
  5.   if(Keyboard.KeyCode==VK_ESCAPE || Keyboard.KeyCode==VK_F1)
  6.   {
  7.     // load and display the main menu window
  8.     WinCaption.Visible = false;
  9.     var WinMainMenu = Game.LoadWindow("interface\system\mainmenu.window");
  10.     WinMainMenu.Center();
  11.     WinMainMenu.GoSystemExclusive();
  12.     Game.UnloadObject(WinMainMenu);
  13.   // on SPACE key
  14.   } else if (Keyboard.KeyCode==VK_SPACE)
  15.   {    
  16.     if (!Game.ResponsesVisible && !WinMenu.Visible) {
  17.       Game.InventoryVisible = true;
  18.     } else if (Game.ResponsesVisible || !Game.Interactive) {
  19.       Game.InventoryVisible = false;
  20.     }
  21.     // turn on and off the space switch when pressing space
  22.     spaceSwitch = !spaceSwitch;
  23.     }
  24. }
  25.  
  26. ////////////////////////////////////////////////////////////////////////////////

8. In the project tree pannel, I locate the folder named scripts, and open the file game_loop.script

9. I go to the bottom of the code and locate the portion that tells the engine to show the inventory when the user navigates to the top of the screen.

I modify the code, so the inventory only dissapears from the screen if the user has not previously triggered it by means of the SPACE key. If I didn't make this modification, considering that the mouse cursor can be in positions outside the top, the inventory would never stick around when the user pressed SPACE: the engine would display it just for an instant before making it dissapear right away.

Finally I set spaceSwitch to false to avoid a conflict between the different methods of toggling on and off the inventory. If you're curious, you can delete spaceSwitch = false; and see what happens.

Code: WME Script
  1. // display the inventory window
  2. {
  3. } else if((Game.MouseY > 100 && spaceSwitch == false)|| Game.ResponsesVisible|| !Game.Interactive)
  4. {
  5.   spaceSwitch = false;
  6. }

Walkthrough 2

If your intention is to replace the former method of displaying the inventory (ie. navigating to the top of the screen) by a new method that shows/hides the inventory when pressing the SPACE key.

1. In the file game_loop.script, I modify the portion of code that tells the engine to show the inventory when the user navigates to the top of the screen like this:


Code: WME Script
  1. // display the inventory window
  2. if(Game.ResponsesVisible|| !Game.Interactive)
  3. {
  4. }

2. I modify the file game.script like this:

Code: WME Script
  1. ////////////////////////////////////////////////////////////////////////////////
  2. on "Keypress"
  3. {
  4.   // on Esc or F1 key
  5.   if(Keyboard.KeyCode==VK_ESCAPE || Keyboard.KeyCode==VK_F1)
  6.   {
  7.     // load and display the main menu window
  8.     WinCaption.Visible = false;
  9.     var WinMainMenu = Game.LoadWindow("interface\system\mainmenu.window");
  10.     WinMainMenu.Center();
  11.     WinMainMenu.GoSystemExclusive();
  12.     Game.UnloadObject(WinMainMenu);
  13.   // on SPACE key
  14.   } else if (Keyboard.KeyCode==VK_SPACE)
  15.   {    
  16.     if (!Game.ResponsesVisible && !WinMenu.Visible) {
  17.       Game.InventoryVisible = true;
  18.     } else if (Game.ResponsesVisible || !Game.Interactive) {
  19.       Game.InventoryVisible = false;
  20.     }
  21.   }
  22. }
  23.  
  24. ////////////////////////////////////////////////////////////////////////////////

 5 
 on: March 04, 2025, 01:58:16 PM 
Started by Eric Matyas - Last post by Eric Matyas
Greetings Fellow Creatives,

This week's brand new Mp3 music tracks are:

On my Action 4 page:

"PIXEL CITY CRUISING" (LoFi)
https://soundimage.org/action-4/

On my Chiptunes 5 page:

"LIFE’S GOOD IN PIXELTOWN" (LoFi)
https://soundimage.org/chiptunes-5/

And on my City/Urban 3 page:

"QUIRKY CHARACTERS ON MY BLOCK" (LoFi)
https://soundimage.org/city-urban-3/

Free as always to use with attribution, like my thousands of other Mp3 tracks.

Enjoy, please stay safe and keep being creative!  :-)

 6 
 on: February 27, 2025, 11:27:17 AM 
Started by Eric Matyas - Last post by Eric Matyas
Greetings Creatives!

I've uploaded some brand new seamless texture images onto the following pages on my site:

TXR - METAL - (Tile-able)
https://soundimage.org/txr-metal-seamless/

TXR - ABSTRACT (Tile-able & Standard)
https://soundimage.org/txr-abstract/

As always, they're 100% free to use with attribution, just like my thousands of other images, music tracks and sounds.

Enjoy!  :-)

 7 
 on: February 20, 2025, 08:50:05 PM 
Started by Eric Matyas - Last post by Eric Matyas
Hey Everyone,

I have a couple of new LoFi tracks to share with the community. Free to use, as always, with attribution:

"LoFi_GAME MENU"
"LoFi_MIND BENDER"

They live in my Puzzle Music 1 page.  Here's the link:
https://soundimage.org/puzzle-music/

Of course, all of my puzzle music tracks can be used for all kinds of things...not just puzzle games.

CUSTOM MUSIC

Need some custom music created special for your project? I'd love to help out...feel free to contact me!

In the meantime, stay safe and keep being creative!  :-)

 8 
 on: February 11, 2025, 03:34:09 PM 
Started by Eric Matyas - Last post by Eric Matyas
Greeting Creatives,

I was under the weather last week, but I did manage to create a new music track on my Sci-Fi 13 page to share with you all:

"CYBERPUNK STREET CHASE"
https://soundimage.org/sci-fi-13/

100% free to use with attribution, like all of my assets.

Enjoy!  :-)

 9 
 on: February 08, 2025, 02:51:17 PM 
Started by Eric Matyas - Last post by Eric Matyas
So I went out the other day and shot some brand new images that I made into seamless textures...they live on these pages on my site:

TXR - BRICK - Seamless
https://soundimage.org/txr-brick-seamless/

TXR - ORGANIC
https://soundimage.org/txr-organic/

TXR - ROCK/STONE - Seamless
https://soundimage.org/txr-rockstone-seamless/

As always, they're 100% free to use with attribution, like my thousands of other images and music tracks.

Speaking of which, please don't forget to check out my Ogg music packs. These packs enable you to bulk-download all of my music at once from various genres...hundreds of tracks.  I even have a "mega pack" that contains all of my game music...over 1100 tracks.

Besides being a huge time-saver, the Ogg versions of my tracks loop really well in game engines...(Mp3 files sometimes need editing due to the Mp3 encoding process.) Plus, Ogg encoding sounds richer and fuller....almost as good as my original WAV recordings.

Anyhow, here are links to the packs:

https://soundimage.org/ogg-music-packs-2/
https://soundimage.org/ogg-game-music-mega-pack/

Enjoy, stay safe and keep being creative!  :-)

 10 
 on: February 04, 2025, 01:32:22 AM 
Started by Eric Matyas - Last post by Eric Matyas
Happy February Everyone!

This week's new free Mp3 music tracks are:

On my Action 4 page:

"PIXEL CITY CRUISING"
https://soundimage.org/action-4/

On my Chiptunes 5 page:

"LIFE’S GOOD IN PIXELTOWN "
https://soundimage.org/chiptunes-5/

And on my Fantasy 13 page:

"CANDY FACTORY"
https://soundimage.org/fantasy-13/

As always, they're 100% free to use with attribution, just like my thousands of other tracks.

FREE SOUND EFFECTS AND AMBIENT SOUNDS

If you haven't discovered them already, I have several pages of free sound effects and ambient sounds. You'll find the links to those pages directly under the links to my Free Mp3 Music pages on the right side of the screen on my website...(you'll probably need to scroll down.)

I sincerely hope that some of my hard work is helpful in your projects!  :-)

Attribution Info:
https://soundimage.org/attribution-info/

Ogg Music Packs:
https://soundimage.org/ogg-game-music-mega-pack/
https://soundimage.org/ogg-music-packs-2/

Pages: [1] 2 3 ... 10

Page created in 0.112 seconds with 17 queries.