sparkdad's Recent Forum Activity

  • I am placing structures on my game map via a click event. So when you are ready to put an item down it should not be on TOP of another object.

    For example you cannot build 2 towers in the same position.(x)

    I can check to make sure that it is not overlapping and that works fine. But if I hover over another structure ( it is not overlapping ) then I can build the structure there : ) So.... basically I need to see if there is another structure BELOW the mouse : )

    Any thoughts? Maybe in the morning I will get up and I will see it, but at 1 a.m. it is eluding me :)

  • First of all thanks to all of you for all of your help. I hope that very soon I will be able to answer questions on this forum.

    I have set all of my enemies, playerUnits and buildings in their respective Families ( full version ).

    All of my functions work fine.

    The only thing I am having issue with is this.

    When you click on one of those objects in the game, I want to display information about that object. eg. Health 25 or 50, ArmorClass 5, ProperName = "Swordsman", and a different profile picture.

    So there are game objects that have platform behaviors on them and then there are ICONS for each object that is just an image.

    Is there a way to create an object based on the object clicked instance variable ICON?

    Any thoughts?

  • Well it was a test project with no final art or animations, but it still irks me : ) My fault. I set my self up on a robust version saving system now : )

    Thanks!

  • Are families broken in r99?

    I updated and now basically nothing works on my project!!!

    Health Bars, Clicks, nothing! I saved and now I can't go back! UGH!

    Anyone else have this issue?

  • More testing of concepts.

    I made a side scrolling platform with edge scrolling.

    docs.google.com/open

    I used two objects (visible in the CAPX) that are invisible, rightEdge and leftEdge.

    When you scroll over them the screen scrolls right or left.

    This works perfect.

    What I want now is for the scrollRate to increase the closer you are to the edge.

    You will see my formula in the function but it does not work.

    Any thoughts on my logic?

    Thanks for the help!

  • I will post a screen shot a little later. The HUD is just a test template that will change a lot. I just needed some area to put the towers : )

    I think I have a working piece of code that I will put up later tonight.

    Thanks!

  • So I am still have trouble with arrays.

    I loaded an example file.

    docs.google.com/open

    What is supposed to happen is this.

    At start of layout the function will analyze the contents of the array varTowers and depending on what # is in the array fill the blank boxes on the RIGHT with either a tower OR a lock.

    I have not written the filling part yet, I just want to get the contents of varTowers and print it in the text box.

    Thanks,

    SparkDad

  • Since the first post I created a 128x128 and resized in C2 to 64x64 and it does look better.

    Thank you and your team for being awesome at supporting your customers!

    A free copy of the game will be yours! HAHA

  • Here is the example file.

    docs.google.com/open

  • Here is what I am trying to do...

    The HUD locations where the LITTLE towers are is the location that I am trying to fill with either a TOWER or a LOCK if it is not available.

    docs.google.com/open

  • I understand arrays. I understand loops. I understand FOR statements

    I do not understand how to implement it in C2!!!

    What I have is this.

    Array varAvailTowers ( 2, 20 ) { 2 rows of 10 } 0 - 1, 0 - 9

    At the beginning of a level I want to loop through the varAvailTowers and fill a box on the screen with the appropriate power-up / tower.

    So...

    On Beginning of Layout

    For ROW = 0 - 9

         For COL = 0 - 9

              TowerForSlot = varAvailTowers.at(ROW,COL)

              CreateObject "TOWERFORSLOT" at (SCREEN COORDINATE FORMULA)

    Does that make sense?

    I will probably store the SCREEN COORDINATES in another array and grab the coordinates from that based on the ROW, COL....

    Help!!!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • OK. So I am working on a game with my son (11). Now neither of us are "great" artists but can get around most graphic tools. We are both learning Inkscape right now and love it.

    The problem I am having is that I make a character in a 64x64 size and when in the game the scaling is terrible.

    I find this hard to understand.

    We love the game Kingdom Rush. Here are some examples of the graphics from their game.

    kingdomrush.com/media.php

    Their characters and towers are VERY small but seem detailed.

    What program would they use to do this? Any thoughts? Tips?

sparkdad's avatar

sparkdad

Member since 26 Jun, 2012

None one is following sparkdad yet!

Connect with sparkdad

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies