Re: Newb Needing Help With Classes In BGT

2016-08-21 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @Omar AlvaradoWhile that is useful advice, I'm not sure if it explains why it's not adjusting the volume in game. I already call it before the game loads, and then upon exiting, but page up/down aren't even adjusting when I'm playing the game. What

Re: Newb Needing Help With Classes In BGT

2016-08-21 Thread AudioGames . net Forum — Developers room : Omar Alvarado via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT hi,I don't know when or how your loading your save data, but a lot of people prefer to load save data at startup, and save at exit or when needed.What I would do is this:Have the pagedown and pageup keys adjust the music, yes.When you go to save

Re: Newb Needing Help With Classes In BGT

2016-08-21 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT So, I have a different question, but I figured it would make more sense to just ask here instead of making a new topic.I wrote a method to adjust the volume of the background music using PageUp and PageDown. I want to add this into my dictionary

Re: Newb Needing Help With Classes In BGT

2016-08-19 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @Omar AlvaradoAwesome. I realized I was misplacing my at symbol. Now that I have the checks figure out, I'm going to write the code for the trampoline. I'll update you guys once I have it all written out, in case people want to mess with it. URL

Re: Newb Needing Help With Classes In BGT

2016-08-19 Thread AudioGames . net Forum — Developers room : Omar Alvarado via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT I sent you an email, you can either reply to that or you can reply to it here on this topic. URL: http://forum.audiogames.net/viewtopic.php?pid=275227#p275227 ___ Audiogames-reflector mailing list

Re: Newb Needing Help With Classes In BGT

2016-08-19 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Yeah, that would work out a lot better haha. You can also DM me on Twitter if you have that. URL: http://forum.audiogames.net/viewtopic.php?pid=275220#p275220 ___ Audiogames-reflector mailing list

Re: Newb Needing Help With Classes In BGT

2016-08-19 Thread AudioGames . net Forum — Developers room : Omar Alvarado via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Hi,Ok, doing this over the forum isn't really working. Whenever I get around to it, I'll send you an email through the forum to not have any limitations of what I can and cannot write. URL: http://forum.audiogames.net/viewtopic.php?pid=275213

Re: Newb Needing Help With Classes In BGT

2016-08-19 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @Post 14So, I'm having trouble with the if statement. Here's what I have:if left paron trampolines at left bracket i right bracket exclamation = null right paron I get this error: On line: 19 (15)Line: if left paron trampolines at left bracket i

Re: Newb Needing Help With Classes In BGT

2016-08-19 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Hi Omar,the security check to see if an array index in deed holds a valid object and not a null pointer is definitely useful. Just to let you guys know that I've never ever needed to use it myself yet. Another useful thing about having objects

Re: Newb Needing Help With Classes In BGT

2016-08-19 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @Omar Alvarado[[wow]], this is very useful. I'm going to sit down today and tinker with this a bit. Thank you. I'll let you guys know if I got it to work or if I ran into some trouble. URL: http://forum.audiogames.net/viewtopic.php?pid=275094

Re: Newb Needing Help With Classes In BGT

2016-08-18 Thread AudioGames . net Forum — Developers room : Omar Alvarado via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Hi again,Remind me to 1, never write example code half asleep and,2, remind me to actually explain where to put things. Rofl!Ok, let me clear up some confusion. For the record, I'm not bashing anyone but myself, since bgt itself is quite

Re: Newb Needing Help With Classes In BGT

2016-08-18 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @LucasAs for as the error I'm getting, I feel rather silly. I normally would have known not to do that, but I guess staring at code for a prolonged amount of time would cause you to think differently.As far as the for loop, I agree about trying

Re: Newb Needing Help With Classes In BGT

2016-08-18 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Hi Ross,yeah, feel free to zip up and upload your entire code if you're okay with me checking it out. I won't be adding anything that's not there yet unless you specifically ask me to, so that you still have work to do, things to learn, and ways

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @lukasYeah, I can do that, or what if I zipped up all my source code and provided a dropbox link? For now, I'll just post the trampoline code, but if you want all my source code so you have the full picture, I'll give a link.trampolines

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Ross,my previous post which I was probably writing at the same time as you were composing your own reply should have answered some of these questions. :-DI was thinking that it might be faster for me and more useful for you if you just posted what

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Well, if you were checking dozens of active objects at once in such a for loop, and even more so if you were calling some heavily calculating methods on them rather than just simply comparing a couple variables in an if statement, it might become

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @lukasYeah, if you could write out the code, creating a trampoline, and then showing how the player will step on it, that would be nice. I did think the way in the tutorial was rather unnecessary and confusing. Also, if you could read my post

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @Omar Alvarado[[wow]], thank you for explaining this. I'm still a little confused, but you definitely cleared up a bunch of questions I was having, especially concerning how to check if a player was on a trampoline. I do have one question. Wouldn't

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @Omar Alvarado[[wow]], thank you for explaining this. I'm still a little confused, but you definitely cleared up a bunch of questions I was having, especially concerning how to check if a player was on a trampoline. I do have one question. Wouldn't

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Hi Ross,before I had the time to reply, Omar has done it, and he did a great job. This is pretty much exactly what I'm doing for objects in my game world myself. If something is not clear or you need a straight out code example, let me know, I'll

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : Omar Alvarado via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Hello there ross,If memory serves me right there is indeed a tutorial, although a very short one, on classes in the in game practice tutorials in bgt.That one left me with a lot of questions. In the end, I ended up instead of looping through

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT @lukasThis helps a lot, but I still have a few questions. I didn't mention this in the first post, but ultimately, I want the player to be able to spawn multiple trampolines on the maps. Could you tell me how I would do this and show me the code

Re: Newb Needing Help With Classes In BGT

2016-08-17 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Hi,if you have a single instance of the trampoline class, this could also be done in a much simpler way, although possibly dirtier when looked at from the perspective of what is good coding practice and what is not. :-)If you do in deed have only

Re: Newb Needing Help With Classes In BGT

2016-08-16 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Newb Needing Help With Classes In BGT Hm, generally I approach this by having a reference to the target class in the map array, although i'm not sure that would work the same way in BGT. Another way to handle it though would be to use your "board" array as a lookup t

Newb Needing Help With Classes In BGT

2016-08-16 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Newb Needing Help With Classes In BGT I'll try to condense this as much as possible. I'm working on a sidescroller. In a level, I'm wanting to add a trampoline. So, I made a trampoline class and then created methods to give it detail. What I want to do is place it on the map at a location

Newb Needing Help With Classes In BGT

2016-08-16 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector
Newb Needing Help With Classes In BGT I'll try to condense this as much as possible. I'm working on a sidescroller. In a level, I'm wanting to add a trampoline. So, I made a trampoline class and then created methods to give it detail. What I want to do is place it on the map at a location