BBC BASIC
« Game: Volatile Vases. -Ready to play »

Welcome Guest. Please Login or Register.
Jan 20th, 2018, 4:22pm


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Game: Volatile Vases. -Ready to play  (Read 439 times)
michael
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 141
xx Game: Volatile Vases. -Ready to play
« Thread started on: Jan 7th, 2017, 12:34am »

It is an executable, yes and its unsigned. But I tested it and it works.(ok its not spectacular, but it is a functional game.)

My very first complete game in 35 years. LOL And it technically only took since the turn of the new year to make it and technically, was maybe no more than 15 hours of hard work.

It is safe to run if you want to try it, even though Windows and Norton will try to stop you from playing it. I need input for the executable, as people who are not IDE friendly will be playing it. I need to find an easy way to sign it.
You will need all the files in the folder. You must extract it and then you should be able to run it after you allow it.
LINK:
https://1drv.ms/f/s!AmYwmTjbmULXlC54d08iY0_qQcwC

How to play Volatile Vases:

The red and green frames must be dragged with the left and right mouse buttons.
Left mouse button controls the red frame, which is the frame that you use to GATHER and to indicate the type vase you want to focus on or move.

The right mouse button is used to drag the green frame, which is the destination frame for swapping vases.

The rule for a swap is that there must be a vase of the same color as the vase you want to move at a 90 degree angle or next to the destination. (but not at a 45* angle..)

Once you have 3 or more of a type of vase lined up, you can GATHER them. In order to gather.. Your RED frame must be at the top of the vertical gathers and to the RIGHT of the horizontal gathers.

Once an area is cleared you can move vases freely in the empty zones to organize a better gather.

I will work on a visual help window that shows possible combinations.

This is a casual player game. Solo board game. I had other ideas, like a creature that you must help get to a destination.. But if it ended up in the wrong area then you would lose. You would have to line up the vases to make a path. That would make it a tough challenge. Of course, I could make it even harder and you would also need to get a minimal area cleared AND get your minion to its destination.

That will probably be on the next version of this game
« Last Edit: Jan 8th, 2017, 11:01pm by michael » User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Re: Game: Volatile Vases. -Ready to play
« Reply #1 on: Jan 7th, 2017, 10:54am »

on Jan 7th, 2017, 12:34am, michael wrote:
It is an executable, yes and its unsigned. But I tested it and it works.

Sorry, doesn't work here (Windows 10). It simply reports the error message "Couldn't create frame.bmp sprite" and exits to a command prompt.

Quote:
You will need all the files in the folder. You must extract it and then you should be able to run it after you allow it.

Folder? It's an executable (presumably intended to be standalone - you describe it as "ready to play"), so what 'folder' are you referring to? I see there are some other files at the link you gave, so I'm a little worried that you haven't created a self-contained exe - in that case please do!

Quote:
I need to find an easy way to sign it.

Signing is easy enough - once configured it's just a case of selecting the checkbox in the Compile dialogue - but there's no getting around the fact that a certificate is relatively expensive ($75 for one year or $195 for 3 years from Tucows, which is where I get mine).

Richard.
« Last Edit: Jan 7th, 2017, 11:07am by Richard Russell » User IP Logged

michael
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 141
xx Re: Game: Volatile Vases. -Ready to play
« Reply #2 on: Jan 7th, 2017, 2:08pm »

Quote:
I see there are some other files at the link you gave, so I'm a little worried that you haven't created a self-contained exe - in that case please do!


I have windows 10 too. The other files need to be included.
Self contained? I could make it create the bmp images, since the code is still inside the program. But how would I make external bmp images self contained in the executable?

I tried console. That didn't seem to work. I can make it so it creates the sprites so it truly is self contained. Ill just hide the process with *REFRESH OFF and make a message like "One moment"
I will need to do it later tonight. I provided a new link and all files are there.
« Last Edit: Jan 7th, 2017, 2:10pm by michael » User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Re: Game: Volatile Vases. -Ready to play
« Reply #3 on: Jan 7th, 2017, 9:10pm »

on Jan 7th, 2017, 2:08pm, michael wrote:
But how would I make external bmp images self contained in the executable?

It should be automatic* - it's the same mechanism that causes BB4W to embed libraries. It scans your program, looking for references to @dir$ and @lib$ and (by default) embeds any files referenced that way in the executable. You can override this automatic process either by manually entering the required files in the Compile dialogue or (better) using the REM!Embed compiler directive.

I think you've rather missed the point of a 'standalone executable' if you think the end-user should need to transfer additional files himself! I'm sure you're not used to other applications working that way: in almost all cases you just run the EXE. I expect you've done that with 'compiled' BB4W programs from myself, David Williams and others without even thinking about it.

Please create a genuine, self-contained, standalone executable if you want other people to run your compiled programs easily. If you then sign it, the whole thing - including all the resource files - will be protected by the digital signature.

Richard.

* One possible reason why it might not have worked for you is if you forgot to reference all your resource files (BMPs etc.) relative to @dir$. But in that case your program would be broken anyway because of making an assumption about the Current Directory which it shouldn't. It is absolutely not the case that the Current Directory is always set to the directory containing your exe.
« Last Edit: Jan 7th, 2017, 9:26pm by Richard Russell » User IP Logged

michael
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 141
xx Re: Game: Volatile Vases. -Ready to play
« Reply #4 on: Jan 8th, 2017, 01:07am »

I see how to do it. I remade the link with the packaged executable and its necessary parts. The game works, but needs better descriptions as its not easy to figure how to play for new players.

I saw the @dir$ in the compile list, but wasn't sure about it.
Thanks for clearing that up.. Ill tweak the game to make it more user friendly.
User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
michael
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 141
xx Re: Game: Volatile Vases. -Ready to play
« Reply #5 on: Jan 8th, 2017, 5:44pm »

I experimented with the output files. The executable replaces the files even if I remove them.. Interesting.
User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls