Show Posts
|
|
Pages: [1] 2 3 ... 7
|
|
2
|
Game Development / Newbie & Debugging Questions / Re: How to edit a windows registry key value?
|
on: 2012-06-26 08:27:07
|
I tried the following, but it seemed to do absolutely nothing. didn't change it at all. 1 2 3 4 5
| Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Sofware\Microsoft\Windows\CurrentVersion\Screensavers\ssText3d] "DisplayString"="This was edited with a reg file" |
I noticed a typo: 'Sofware'. Might be worth checking it isn't in your code. Edit: BTW: I also noticed that if you use REG ADD it needs a /f flag to force an overwrite without a confirm prompt. Oh wow I feel stupid now. I read over it for spelling mistakes also and didnt even catch the missing 't'. im pretty sure that was it. and i tested by make a .reg file. I figured if that worked, it would work using the getRuntime way with command arguments. Edit: So that simple type seemed to fix my problem, it updates the key with the correct value, however, the 3dtext screen saver does not seem to want to use that value as the text. it reverts to the default text of 'Windows 7'. possibly have to restart my computer? hmm.. ill have to look into this further tomorrow sometime :\ Thanks for the help so far!
|
|
|
|
|
3
|
Discussions / Business and Project Discussions / Re: I will hire at least one JGO member if I get 250 likes and win.
|
on: 2012-06-25 07:15:35
|
You are disqualifying yourself by posting this kind of post  You may not entice Consumers to Vote by offering any type of consideration, gift, award, or inducement, including merchandise, cash, online currency, discounts, vote trading or anything deemed to have value in exchange for Votes. Mike Yes, I believe you may have actually disqualified yourself. You enticed us to vote for you in the off chance that one of us will get hired to your company. That right there is a type of consideration. :\
|
|
|
|
|
5
|
Game Development / Newbie & Debugging Questions / Re: How to edit a windows registry key value?
|
on: 2012-06-25 06:25:17
|
I don't have my Windows nearby but as I remember REG files overwrite whatever values are there. EDIT: From the MS support site: When you run a .reg file, the file contents merge into the local registry. Therefore, you must distribute .reg files with caution. hmm. i guess i will try the way you posted earlier and see how that works.
|
|
|
|
|
6
|
Game Development / Newbie & Debugging Questions / Re: How to edit a windows registry key value?
|
on: 2012-06-25 06:16:14
|
and I don't understand what you mean by feed the registry a prepared key..?
The reason I am looking to do this through code is because the key will be changing every so often.
Note that your screen saver will probably need to be re-started in order for the new text to take effect. You could programatically create a reg file like so: 1 2 3 4 5
| Header Blank line [RegistryPath] "DataType"="DataValue" Blank line |
1 2 3 4
| Windows Registry Editor Version 5.00
[HKEY_USERS\.DEFAULT\Software\Microsoft\Screensavers\Text3D] "DisplayString"="Your message here..." |
More info: http://support.microsoft.com/kb/310516This creates a new one, I need to edit an existing one... Unless I can overwrite registry keys? But I don't think you can.
|
|
|
|
|
7
|
Game Development / Newbie & Debugging Questions / Re: How to edit a windows registry key value?
|
on: 2012-06-25 06:09:56
|
This doesn't answer your question, but I'm wondering, have you considered using a Properties file? Is there a specific need to use the registry for this task, or is that you just want to?
That is how the default windows 3d text screen saver gets the text input value. through the registry, therefor I have to use the registry. Unless I designed my own screen saver which I really dont want to do. The closest I found to editing, is adding a new key but, that does not help me. 1 2 3 4 5 6 7 8
| try { Runtime.getRuntime().exec("REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\your soft\key"); } catch(Exception e) { System.out.println("Error ocured!"); } |
Im sure there is someway to do it using Runtime. :\
|
|
|
|
|
8
|
Game Development / Newbie & Debugging Questions / Re: How to edit a windows registry key value?
|
on: 2012-06-25 05:36:54
|
Assuming that you're creating a game, why you need to modify the reg?
well if you would have read my topic post, you would know that haha. and I don't understand what you mean by feed the registry a prepared key..? The reason I am looking to do this through code is because the key will be changing every so often. What I am trying to do is have a website where someone, anyone with a link can change the text of my screen saver with a simple string input. My program, will check for a change in the string value on the website, and if changed, change the text of my screen saver by editing my registry. This has nothing to do with a game and will only affect me.
|
|
|
|
|
9
|
Game Development / Newbie & Debugging Questions / How to edit a windows registry key value?
|
on: 2012-06-25 02:30:36
|
|
There is a specific key in the registry that I would like to edit with java.
The value is a String, in fact, its the 3Dtext screen savers display text.
I do not want to create a new registry key or delete one, I just want to edit one and simply change the string value of it.
I searched all over google but all I come up with are was to create a new key.
any ideas?
|
|
|
|
|
10
|
Discussions / Miscellaneous Topics / Re: Snipping Tool++ (An advanced screenshot/text uploading tool)
|
on: 2012-06-20 21:29:28
|
|
Ah. I will fix that now.
I am moving a lot of stuff over to my website that im setting up and forgot to update the link here.
Edit: ok. the download link should take you to my webpage where I have it hosted.
Its easier to keep track of links and updates if I direct everything to my website now. rather than having to update stuff here so much.
However, I will still let everyone know of updates here when they occur.
|
|
|
|
|
11
|
Discussions / General Discussions / Re: What's your dev rig?
|
on: 2012-06-17 02:17:52
|
 HDD: 300GB at 7200 rpm (yea, i need a shit ton more space, gonna buy a 2tb soon) RAM: 8GB CPU: Intel Core i3-2100 CPU @ 3.10GHz Graphics Card: Gigabyte Amd HD 6950 Motherboard: MSI P67S-C43 For perspective reason, runs BF3 Completely maxed with 2x AA instead of 4x at 50-60 fps. I usually just play it on high just because i get a constant 70-80 fps and hardly a graphical difference.
|
|
|
|
|
13
|
Games Center / Archived Projects / Re: Stage Dive Hero
|
on: 2012-06-16 18:24:45
|
|
I found it nearly impossible to hit any arrow, you have to be almost perfectly, you should account for visual lag a little I guess.
The other thing, holy cow you main class is huge. You should try and split things into separate class files instead of keeping the entire game in one file. Just good coding rules.
Just a thought.
|
|
|
|
|
14
|
Discussions / Miscellaneous Topics / Re: Snipping Tool++ (An advanced screenshot/text uploading tool)
|
on: 2012-06-16 02:53:30
|
|
Updated.
Fixed all the above..
Added the Multi-Image Uploader Added Multi-Snippet capture support. (draw boxes around anything you want combined into a single image)
Added some more example images to the original post.
To enable multi-snippet capture, go to Preferences>General > Click the checkbox
Enjoy. (I also changed the download location to use my dropbox now instead of mediafire)
|
|
|
|
|
15
|
Discussions / Miscellaneous Topics / Re: Snipping Tool++ (An advanced screenshot/text uploading tool)
|
on: 2012-06-15 00:52:50
|
|
Just realized there may be a bug where the program does not run, if this is the case, delete the ".snippingtool++" data directory if it exists. It should be located under C:/users/[username]/.snippingtool++ then restart the program.
Also, I was notified of an issue caused by anyone who has a secondary monitor to the left of their main screen.
All of these issues will be fixed real soon hopefully with the next update. The next update will also feature the new multi-image uploading tool.
|
|
|
|
|
17
|
Games Center / Featured Games / Re: Overbind
|
on: 2012-06-11 22:40:54
|
|
thats what I was trying to do but I cant seem to get it.
I ended up getting annoyed and quit.. lol
might want to fix that, else it looks like it could be a really fun game, if I could get past that part.
|
|
|
|
|
18
|
Games Center / Featured Games / Re: Overbind
|
on: 2012-06-11 22:38:17
|
|
I got past the second hurtle once, but then I died at the 3rd and cant get over the second.
I think the second one should be a bit easier especially if its supposed to slowly get harder as you progress.
just a thought.
|
|
|
|
|
21
|
Games Center / Showcase / Re: Pixel Rain
|
on: 2012-06-08 06:07:28
|
|
Fixed fixed fixed.
Got maven installed and slowly figuring that out. but atleast now i have a jar built that should run and extract the natives and what not.
sorry for the long wait, should have had this all fixed before i made the thread :\
|
|
|
|
|
22
|
Games Center / Showcase / Re: Pixel Rain
|
on: 2012-06-07 16:54:35
|
Little overkill I think, for loading sound.
not really, using default java to play sounds is terrible if you have multiple that play in quick succession. What happens is it does not play them all, it skips some. I tried and tried to make a workable manager that would play the sounds well but in the end it did not work out. So I decided to use the slick sound library instead. Anyways, problem with it was trying to load the library out of the jar and the reason it worked for me is because the library was already loaded when I was testing in eclipse. So im fixing all that now.
|
|
|
|
|
23
|
Games Center / Showcase / Re: Pixel Rain
|
on: 2012-06-07 04:21:51
|
|
A friend of mine may have figured out the issue behind the game not running on anyones but my computer.
Working on a fix, hopefully ill have a fix up sometime tomorrow.
Sorry about that :\
|
|
|
|
|
24
|
Games Center / Showcase / Re: Pixel Rain
|
on: 2012-06-07 00:50:07
|
yep Windows XP 32
I think its something with lwjgl and being xp with 32 bit. Im not sure though and have almost zero experience with lwjgl besides the few lines of code I used that required it. So basically, I have no idea how to fix it for ya lol and I dont have xp to try and mess with it. :\
|
|
|
|
|
25
|
Games Center / Showcase / Re: Pixel Rain
|
on: 2012-06-06 22:34:34
|
1 2 3 4 5 6 7 8
| I couldn't run it.
[cde] Caused by: java.lang.NullPointerException at Main.setProperties(Main.java:125) at Main.<init>(Main.java:80) at Main.main(Main.java:136) ... 5 more |
thats odd. thats the method that sets the properties for the lwjgl path for slick2d to work for my audio. Are you running it on a 32 bit system by any chance?
|
|
|
|
|
26
|
Games Center / Showcase / Re: Pixel Rain
|
on: 2012-06-06 17:44:17
|
Alright, link is at the bottom for it. The campaign levels might not be very smooth and some may be way harder than should be for the level. I have not had anyone besides myself test them so feedback on level difficulty would be nice. (Im kinda a master at the game so its very difficult to develop easy levels that are not to easy and at the same time progressively get harder)Score attack should be fine though. Enjoy I look forward to your feedback 
|
|
|
|
|
27
|
Games Center / Showcase / Re: Pixel Rain
|
on: 2012-06-06 15:54:45
|
What font is that or did you draw the letters yourself?
The font is called "Uranium" its one I was going to use for one of my other games but never did and had it on my computer. I got it off the internet a while ago.
|
|
|
|
|
28
|
Discussions / Miscellaneous Topics / Re: Snipping Tool++ (An advanced screenshot uploading tool)
|
on: 2012-06-06 05:47:11
|
Finally im back with internet and the sorts. been gone a while. When I was gone I was thinking, wouldnt it be nice to also be able to upload text? Because a lot of times I upload snippets of code for people. So, today I added an "Upload to Pastebin" feature. All you need to do is, copy the text you want to upload to your clipboard and then press Alt+Shift+1. When uploading finishes you will have the link copied to your clipboard. Hope this made it that much more useful to those who use it  ---- I also fixed a bug where the program was stealing the escape key. Basically you couldnt use the escape key while my program was running. So i changed the key to right click.
|
|
|
|
|
29
|
Games Center / Showcase / Re: Pixel Rain
|
on: 2012-06-06 05:30:42
|
Very nice! Are there any plans to have a download link?
Yea, I will upload one tomorrow morning sometime. I still have to finish the last 2 levels. Great job on the audio + visual. Personally I feel like the game play could be tweaked a bit but maybe that's because I've only seen one level of it. Nice work.
yea, it gets a little crazy, the deposit boxes that you saw me dropping rain off into for points/to fill meters actually start to move around and change behavior in other levels. The main focus of the game is my game type "score attack" but thats a "last as long as you can" type of level that progressively gets harder as you fill meters. So yea, tomorrow morning sometime I will have a download link to it and more info on the objective.
|
|
|
|
|
30
|
Games Center / Showcase / Pixel Rain
|
on: 2012-06-06 03:51:13
|
Pixel Rain is a game I have been slowing making in my spare time lately. The idea behind it was to make a game that didnt use a single image. I wanted to see how nice and beautiful I could make a game by just using Swing and the default graphics class. Objective: The objective of pixel rain is to fill your 'red' and 'blue' rain meters to complete a level. To do this, you play as a "magnet" which can only capture 1 type of rain at a time. The bigger the rain you capture, the more the corresponding meter will increase upon deposit. You must fill both meters completely before you magnetic power runs out. Capturing 'green' rain will temporarily increase your current power level. For more information, read the instructions page in-game for controls and a deeper explanation of how the game works. ----- None of the music was made by me. The music was taken from example stuff that came with an FL Studio package that seemed to fit the game. One track was from a youtube video. However, all of the FX were made by me. I got fed up with audio issues so I did use slick for the audio. but thats it.    http://www.youtube.com/v/nALU-k69Xt0?version=3&hl=en_US&start=[size=28pt] Pixel Rain - Build 1.0 (Mediafire link)[/size] Upon running it may stall for a few seconds as it loads the sounds.
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|